| 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/descriptor.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 5 | #define PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 6 | |
| 7 | #include <string> |
| 8 | |
| 9 | #include <google/protobuf/stubs/common.h> |
| 10 | |
| 11 | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
| 12 | #error This file was generated by a newer version of protoc which is |
| 13 | #error incompatible with your Protocol Buffer headers. Please update |
| 14 | #error your headers. |
| 15 | #endif |
| 16 | #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| 17 | #error This file was generated by an older version of protoc which is |
| 18 | #error incompatible with your Protocol Buffer headers. Please |
| 19 | #error regenerate this file with a newer version of protoc. |
| 20 | #endif |
| 21 | |
| 22 | #include <google/protobuf/io/coded_stream.h> |
| 23 | #include <google/protobuf/arena.h> |
| 24 | #include <google/protobuf/arenastring.h> |
| 25 | #include <google/protobuf/generated_message_table_driven.h> |
| 26 | #include <google/protobuf/generated_message_util.h> |
| 27 | #include <google/protobuf/inlined_string_field.h> |
| 28 | #include <google/protobuf/metadata.h> |
| 29 | #include <google/protobuf/message.h> |
| 30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 32 | #include <google/protobuf/generated_enum_reflection.h> |
| 33 | #include <google/protobuf/unknown_field_set.h> |
| 34 | // @@protoc_insertion_point(includes) |
| 35 | #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2fdescriptor_2eproto LIBPROTOBUF_EXPORT |
| 36 | |
| 37 | namespace protobuf_google_2fprotobuf_2fdescriptor_2eproto { |
| 38 | // Internal implementation detail -- do not use these members. |
| 39 | struct LIBPROTOBUF_EXPORT TableStruct { |
| 40 | static const ::google::protobuf::internal::ParseTableField entries[]; |
| 41 | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
| 42 | static const ::google::protobuf::internal::ParseTable schema[27]; |
| 43 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
| 44 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
| 45 | static const ::google::protobuf::uint32 offsets[]; |
| 46 | }; |
| 47 | void LIBPROTOBUF_EXPORT AddDescriptors(); |
| 48 | } // namespace protobuf_google_2fprotobuf_2fdescriptor_2eproto |
| 49 | namespace google { |
| 50 | namespace protobuf { |
| 51 | class DescriptorProto; |
| 52 | class DescriptorProtoDefaultTypeInternal; |
| 53 | LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; |
| 54 | class DescriptorProto_ExtensionRange; |
| 55 | class DescriptorProto_ExtensionRangeDefaultTypeInternal; |
| 56 | LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; |
| 57 | class DescriptorProto_ReservedRange; |
| 58 | class DescriptorProto_ReservedRangeDefaultTypeInternal; |
| 59 | LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; |
| 60 | class EnumDescriptorProto; |
| 61 | class EnumDescriptorProtoDefaultTypeInternal; |
| 62 | LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; |
| 63 | class EnumDescriptorProto_EnumReservedRange; |
| 64 | class EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; |
| 65 | LIBPROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; |
| 66 | class EnumOptions; |
| 67 | class EnumOptionsDefaultTypeInternal; |
| 68 | LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; |
| 69 | class EnumValueDescriptorProto; |
| 70 | class EnumValueDescriptorProtoDefaultTypeInternal; |
| 71 | LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; |
| 72 | class EnumValueOptions; |
| 73 | class EnumValueOptionsDefaultTypeInternal; |
| 74 | LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; |
| 75 | class ExtensionRangeOptions; |
| 76 | class ExtensionRangeOptionsDefaultTypeInternal; |
| 77 | LIBPROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; |
| 78 | class FieldDescriptorProto; |
| 79 | class FieldDescriptorProtoDefaultTypeInternal; |
| 80 | LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
| 81 | class FieldOptions; |
| 82 | class FieldOptionsDefaultTypeInternal; |
| 83 | LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
| 84 | class FileDescriptorProto; |
| 85 | class FileDescriptorProtoDefaultTypeInternal; |
| 86 | LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
| 87 | class FileDescriptorSet; |
| 88 | class FileDescriptorSetDefaultTypeInternal; |
| 89 | LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
| 90 | class FileOptions; |
| 91 | class FileOptionsDefaultTypeInternal; |
| 92 | LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
| 93 | class GeneratedCodeInfo; |
| 94 | class GeneratedCodeInfoDefaultTypeInternal; |
| 95 | LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
| 96 | class GeneratedCodeInfo_Annotation; |
| 97 | class GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
| 98 | LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
| 99 | class MessageOptions; |
| 100 | class MessageOptionsDefaultTypeInternal; |
| 101 | LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
| 102 | class MethodDescriptorProto; |
| 103 | class MethodDescriptorProtoDefaultTypeInternal; |
| 104 | LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
| 105 | class MethodOptions; |
| 106 | class MethodOptionsDefaultTypeInternal; |
| 107 | LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
| 108 | class OneofDescriptorProto; |
| 109 | class OneofDescriptorProtoDefaultTypeInternal; |
| 110 | LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
| 111 | class OneofOptions; |
| 112 | class OneofOptionsDefaultTypeInternal; |
| 113 | LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
| 114 | class ServiceDescriptorProto; |
| 115 | class ServiceDescriptorProtoDefaultTypeInternal; |
| 116 | LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
| 117 | class ServiceOptions; |
| 118 | class ServiceOptionsDefaultTypeInternal; |
| 119 | LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
| 120 | class SourceCodeInfo; |
| 121 | class SourceCodeInfoDefaultTypeInternal; |
| 122 | LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
| 123 | class SourceCodeInfo_Location; |
| 124 | class SourceCodeInfo_LocationDefaultTypeInternal; |
| 125 | LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
| 126 | class UninterpretedOption; |
| 127 | class UninterpretedOptionDefaultTypeInternal; |
| 128 | LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
| 129 | class UninterpretedOption_NamePart; |
| 130 | class UninterpretedOption_NamePartDefaultTypeInternal; |
| 131 | LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
| 132 | } // namespace protobuf |
| 133 | } // namespace google |
| 134 | namespace google { |
| 135 | namespace protobuf { |
| 136 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::DescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::DescriptorProto>(Arena*); |
| 137 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<::google::protobuf::DescriptorProto_ExtensionRange>(Arena*); |
| 138 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<::google::protobuf::DescriptorProto_ReservedRange>(Arena*); |
| 139 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::EnumDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::EnumDescriptorProto>(Arena*); |
| 140 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<::google::protobuf::EnumDescriptorProto_EnumReservedRange>(Arena*); |
| 141 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::EnumOptions* Arena::CreateMaybeMessage<::google::protobuf::EnumOptions>(Arena*); |
| 142 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::EnumValueDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::EnumValueDescriptorProto>(Arena*); |
| 143 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::EnumValueOptions* Arena::CreateMaybeMessage<::google::protobuf::EnumValueOptions>(Arena*); |
| 144 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::ExtensionRangeOptions* Arena::CreateMaybeMessage<::google::protobuf::ExtensionRangeOptions>(Arena*); |
| 145 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::FieldDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::FieldDescriptorProto>(Arena*); |
| 146 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::FieldOptions* Arena::CreateMaybeMessage<::google::protobuf::FieldOptions>(Arena*); |
| 147 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::FileDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::FileDescriptorProto>(Arena*); |
| 148 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::FileDescriptorSet* Arena::CreateMaybeMessage<::google::protobuf::FileDescriptorSet>(Arena*); |
| 149 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::FileOptions* Arena::CreateMaybeMessage<::google::protobuf::FileOptions>(Arena*); |
| 150 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::GeneratedCodeInfo* Arena::CreateMaybeMessage<::google::protobuf::GeneratedCodeInfo>(Arena*); |
| 151 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<::google::protobuf::GeneratedCodeInfo_Annotation>(Arena*); |
| 152 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::MessageOptions* Arena::CreateMaybeMessage<::google::protobuf::MessageOptions>(Arena*); |
| 153 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::MethodDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::MethodDescriptorProto>(Arena*); |
| 154 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::MethodOptions* Arena::CreateMaybeMessage<::google::protobuf::MethodOptions>(Arena*); |
| 155 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::OneofDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::OneofDescriptorProto>(Arena*); |
| 156 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::OneofOptions* Arena::CreateMaybeMessage<::google::protobuf::OneofOptions>(Arena*); |
| 157 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::ServiceDescriptorProto* Arena::CreateMaybeMessage<::google::protobuf::ServiceDescriptorProto>(Arena*); |
| 158 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::ServiceOptions* Arena::CreateMaybeMessage<::google::protobuf::ServiceOptions>(Arena*); |
| 159 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::SourceCodeInfo* Arena::CreateMaybeMessage<::google::protobuf::SourceCodeInfo>(Arena*); |
| 160 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::SourceCodeInfo_Location* Arena::CreateMaybeMessage<::google::protobuf::SourceCodeInfo_Location>(Arena*); |
| 161 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::UninterpretedOption* Arena::CreateMaybeMessage<::google::protobuf::UninterpretedOption>(Arena*); |
| 162 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<::google::protobuf::UninterpretedOption_NamePart>(Arena*); |
| 163 | } // namespace protobuf |
| 164 | } // namespace google |
| 165 | namespace google { |
| 166 | namespace protobuf { |
| 167 | |
| 168 | enum FieldDescriptorProto_Type { |
| 169 | FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
| 170 | FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
| 171 | FieldDescriptorProto_Type_TYPE_INT64 = 3, |
| 172 | FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
| 173 | FieldDescriptorProto_Type_TYPE_INT32 = 5, |
| 174 | FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
| 175 | FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
| 176 | FieldDescriptorProto_Type_TYPE_BOOL = 8, |
| 177 | FieldDescriptorProto_Type_TYPE_STRING = 9, |
| 178 | FieldDescriptorProto_Type_TYPE_GROUP = 10, |
| 179 | FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
| 180 | FieldDescriptorProto_Type_TYPE_BYTES = 12, |
| 181 | FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
| 182 | FieldDescriptorProto_Type_TYPE_ENUM = 14, |
| 183 | FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
| 184 | FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
| 185 | FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
| 186 | FieldDescriptorProto_Type_TYPE_SINT64 = 18 |
| 187 | }; |
| 188 | LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
| 189 | const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE; |
| 190 | const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64; |
| 191 | const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1; |
| 192 | |
| 193 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); |
| 194 | inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
| 195 | return ::google::protobuf::internal::NameOfEnum( |
| 196 | FieldDescriptorProto_Type_descriptor(), value); |
| 197 | } |
| 198 | inline bool FieldDescriptorProto_Type_Parse( |
| 199 | const ::std::string& name, FieldDescriptorProto_Type* value) { |
| 200 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
| 201 | FieldDescriptorProto_Type_descriptor(), name, value); |
| 202 | } |
| 203 | enum FieldDescriptorProto_Label { |
| 204 | FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
| 205 | FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
| 206 | FieldDescriptorProto_Label_LABEL_REPEATED = 3 |
| 207 | }; |
| 208 | LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
| 209 | const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| 210 | const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED; |
| 211 | const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1; |
| 212 | |
| 213 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor(); |
| 214 | inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
| 215 | return ::google::protobuf::internal::NameOfEnum( |
| 216 | FieldDescriptorProto_Label_descriptor(), value); |
| 217 | } |
| 218 | inline bool FieldDescriptorProto_Label_Parse( |
| 219 | const ::std::string& name, FieldDescriptorProto_Label* value) { |
| 220 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
| 221 | FieldDescriptorProto_Label_descriptor(), name, value); |
| 222 | } |
| 223 | enum FileOptions_OptimizeMode { |
| 224 | FileOptions_OptimizeMode_SPEED = 1, |
| 225 | FileOptions_OptimizeMode_CODE_SIZE = 2, |
| 226 | FileOptions_OptimizeMode_LITE_RUNTIME = 3 |
| 227 | }; |
| 228 | LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
| 229 | const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED; |
| 230 | const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME; |
| 231 | const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1; |
| 232 | |
| 233 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); |
| 234 | inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
| 235 | return ::google::protobuf::internal::NameOfEnum( |
| 236 | FileOptions_OptimizeMode_descriptor(), value); |
| 237 | } |
| 238 | inline bool FileOptions_OptimizeMode_Parse( |
| 239 | const ::std::string& name, FileOptions_OptimizeMode* value) { |
| 240 | return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
| 241 | FileOptions_OptimizeMode_descriptor(), name, value); |
| 242 | } |
| 243 | enum FieldOptions_CType { |
| 244 | FieldOptions_CType_STRING = 0, |
| 245 | FieldOptions_CType_CORD = 1, |
| 246 | FieldOptions_CType_STRING_PIECE = 2 |
| 247 | }; |
| 248 | LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
| 249 | const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING; |
| 250 | const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE; |
| 251 | const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1; |
| 252 | |
| 253 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor(); |
| 254 | inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
| 255 | return ::google::protobuf::internal::NameOfEnum( |
| 256 | FieldOptions_CType_descriptor(), value); |
| 257 | } |
| 258 | inline bool FieldOptions_CType_Parse( |
| 259 | const ::std::string& name, FieldOptions_CType* value) { |
| 260 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
| 261 | FieldOptions_CType_descriptor(), name, value); |
| 262 | } |
| 263 | enum FieldOptions_JSType { |
| 264 | FieldOptions_JSType_JS_NORMAL = 0, |
| 265 | FieldOptions_JSType_JS_STRING = 1, |
| 266 | FieldOptions_JSType_JS_NUMBER = 2 |
| 267 | }; |
| 268 | LIBPROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
| 269 | const FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL; |
| 270 | const FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER; |
| 271 | const int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1; |
| 272 | |
| 273 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor(); |
| 274 | inline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { |
| 275 | return ::google::protobuf::internal::NameOfEnum( |
| 276 | FieldOptions_JSType_descriptor(), value); |
| 277 | } |
| 278 | inline bool FieldOptions_JSType_Parse( |
| 279 | const ::std::string& name, FieldOptions_JSType* value) { |
| 280 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
| 281 | FieldOptions_JSType_descriptor(), name, value); |
| 282 | } |
| 283 | enum MethodOptions_IdempotencyLevel { |
| 284 | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
| 285 | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
| 286 | MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 |
| 287 | }; |
| 288 | LIBPROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
| 289 | const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
| 290 | const MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
| 291 | const int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1; |
| 292 | |
| 293 | LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor(); |
| 294 | inline const ::std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) { |
| 295 | return ::google::protobuf::internal::NameOfEnum( |
| 296 | MethodOptions_IdempotencyLevel_descriptor(), value); |
| 297 | } |
| 298 | inline bool MethodOptions_IdempotencyLevel_Parse( |
| 299 | const ::std::string& name, MethodOptions_IdempotencyLevel* value) { |
| 300 | return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
| 301 | MethodOptions_IdempotencyLevel_descriptor(), name, value); |
| 302 | } |
| 303 | // =================================================================== |
| 304 | |
| 305 | class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
| 306 | public: |
| 307 | FileDescriptorSet(); |
| 308 | virtual ~FileDescriptorSet(); |
| 309 | |
| 310 | FileDescriptorSet(const FileDescriptorSet& from); |
| 311 | |
| 312 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
| 313 | CopyFrom(from); |
| 314 | return *this; |
| 315 | } |
| 316 | #if LANG_CXX11 |
| 317 | FileDescriptorSet(FileDescriptorSet&& from) noexcept |
| 318 | : FileDescriptorSet() { |
| 319 | *this = ::std::move(from); |
| 320 | } |
| 321 | |
| 322 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
| 323 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 324 | if (this != &from) InternalSwap(&from); |
| 325 | } else { |
| 326 | CopyFrom(from); |
| 327 | } |
| 328 | return *this; |
| 329 | } |
| 330 | #endif |
| 331 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 332 | return _internal_metadata_.unknown_fields(); |
| 333 | } |
| 334 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 335 | return _internal_metadata_.mutable_unknown_fields(); |
| 336 | } |
| 337 | |
| 338 | inline ::google::protobuf::Arena* GetArena() const final { |
| 339 | return GetArenaNoVirtual(); |
| 340 | } |
| 341 | inline void* GetMaybeArenaPointer() const final { |
| 342 | return MaybeArenaPtr(); |
| 343 | } |
| 344 | static const ::google::protobuf::Descriptor* descriptor(); |
| 345 | static const FileDescriptorSet& default_instance(); |
| 346 | |
| 347 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 348 | static inline const FileDescriptorSet* internal_default_instance() { |
| 349 | return reinterpret_cast<const FileDescriptorSet*>( |
| 350 | &_FileDescriptorSet_default_instance_); |
| 351 | } |
| 352 | static constexpr int kIndexInFileMessages = |
| 353 | 0; |
| 354 | |
| 355 | void UnsafeArenaSwap(FileDescriptorSet* other); |
| 356 | void Swap(FileDescriptorSet* other); |
| 357 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { |
| 358 | a.Swap(&b); |
| 359 | } |
| 360 | |
| 361 | // implements Message ---------------------------------------------- |
| 362 | |
| 363 | inline FileDescriptorSet* New() const final { |
| 364 | return CreateMaybeMessage<FileDescriptorSet>(NULL); |
| 365 | } |
| 366 | |
| 367 | FileDescriptorSet* New(::google::protobuf::Arena* arena) const final { |
| 368 | return CreateMaybeMessage<FileDescriptorSet>(arena); |
| 369 | } |
| 370 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 371 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 372 | void CopyFrom(const FileDescriptorSet& from); |
| 373 | void MergeFrom(const FileDescriptorSet& from); |
| 374 | void Clear() final; |
| 375 | bool IsInitialized() const final; |
| 376 | |
| 377 | size_t ByteSizeLong() const final; |
| 378 | bool MergePartialFromCodedStream( |
| 379 | ::google::protobuf::io::CodedInputStream* input) final; |
| 380 | void SerializeWithCachedSizes( |
| 381 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 382 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 383 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 384 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 385 | |
| 386 | private: |
| 387 | void SharedCtor(); |
| 388 | void SharedDtor(); |
| 389 | void SetCachedSize(int size) const final; |
| 390 | void InternalSwap(FileDescriptorSet* other); |
| 391 | protected: |
| 392 | explicit FileDescriptorSet(::google::protobuf::Arena* arena); |
| 393 | private: |
| 394 | static void ArenaDtor(void* object); |
| 395 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 396 | private: |
| 397 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 398 | return _internal_metadata_.arena(); |
| 399 | } |
| 400 | inline void* MaybeArenaPtr() const { |
| 401 | return _internal_metadata_.raw_arena_ptr(); |
| 402 | } |
| 403 | public: |
| 404 | |
| 405 | ::google::protobuf::Metadata GetMetadata() const final; |
| 406 | |
| 407 | // nested types ---------------------------------------------------- |
| 408 | |
| 409 | // accessors ------------------------------------------------------- |
| 410 | |
| 411 | // repeated .google.protobuf.FileDescriptorProto file = 1; |
| 412 | int file_size() const; |
| 413 | void clear_file(); |
| 414 | static const int kFileFieldNumber = 1; |
| 415 | ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
| 416 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* |
| 417 | mutable_file(); |
| 418 | const ::google::protobuf::FileDescriptorProto& file(int index) const; |
| 419 | ::google::protobuf::FileDescriptorProto* add_file(); |
| 420 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& |
| 421 | file() const; |
| 422 | |
| 423 | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
| 424 | private: |
| 425 | |
| 426 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 427 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 428 | typedef void InternalArenaConstructable_; |
| 429 | typedef void DestructorSkippable_; |
| 430 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 431 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 432 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; |
| 433 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 434 | }; |
| 435 | // ------------------------------------------------------------------- |
| 436 | |
| 437 | class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
| 438 | public: |
| 439 | FileDescriptorProto(); |
| 440 | virtual ~FileDescriptorProto(); |
| 441 | |
| 442 | FileDescriptorProto(const FileDescriptorProto& from); |
| 443 | |
| 444 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
| 445 | CopyFrom(from); |
| 446 | return *this; |
| 447 | } |
| 448 | #if LANG_CXX11 |
| 449 | FileDescriptorProto(FileDescriptorProto&& from) noexcept |
| 450 | : FileDescriptorProto() { |
| 451 | *this = ::std::move(from); |
| 452 | } |
| 453 | |
| 454 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
| 455 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 456 | if (this != &from) InternalSwap(&from); |
| 457 | } else { |
| 458 | CopyFrom(from); |
| 459 | } |
| 460 | return *this; |
| 461 | } |
| 462 | #endif |
| 463 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 464 | return _internal_metadata_.unknown_fields(); |
| 465 | } |
| 466 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 467 | return _internal_metadata_.mutable_unknown_fields(); |
| 468 | } |
| 469 | |
| 470 | inline ::google::protobuf::Arena* GetArena() const final { |
| 471 | return GetArenaNoVirtual(); |
| 472 | } |
| 473 | inline void* GetMaybeArenaPointer() const final { |
| 474 | return MaybeArenaPtr(); |
| 475 | } |
| 476 | static const ::google::protobuf::Descriptor* descriptor(); |
| 477 | static const FileDescriptorProto& default_instance(); |
| 478 | |
| 479 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 480 | static inline const FileDescriptorProto* internal_default_instance() { |
| 481 | return reinterpret_cast<const FileDescriptorProto*>( |
| 482 | &_FileDescriptorProto_default_instance_); |
| 483 | } |
| 484 | static constexpr int kIndexInFileMessages = |
| 485 | 1; |
| 486 | |
| 487 | void UnsafeArenaSwap(FileDescriptorProto* other); |
| 488 | void Swap(FileDescriptorProto* other); |
| 489 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { |
| 490 | a.Swap(&b); |
| 491 | } |
| 492 | |
| 493 | // implements Message ---------------------------------------------- |
| 494 | |
| 495 | inline FileDescriptorProto* New() const final { |
| 496 | return CreateMaybeMessage<FileDescriptorProto>(NULL); |
| 497 | } |
| 498 | |
| 499 | FileDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 500 | return CreateMaybeMessage<FileDescriptorProto>(arena); |
| 501 | } |
| 502 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 503 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 504 | void CopyFrom(const FileDescriptorProto& from); |
| 505 | void MergeFrom(const FileDescriptorProto& from); |
| 506 | void Clear() final; |
| 507 | bool IsInitialized() const final; |
| 508 | |
| 509 | size_t ByteSizeLong() const final; |
| 510 | bool MergePartialFromCodedStream( |
| 511 | ::google::protobuf::io::CodedInputStream* input) final; |
| 512 | void SerializeWithCachedSizes( |
| 513 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 514 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 515 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 516 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 517 | |
| 518 | private: |
| 519 | void SharedCtor(); |
| 520 | void SharedDtor(); |
| 521 | void SetCachedSize(int size) const final; |
| 522 | void InternalSwap(FileDescriptorProto* other); |
| 523 | protected: |
| 524 | explicit FileDescriptorProto(::google::protobuf::Arena* arena); |
| 525 | private: |
| 526 | static void ArenaDtor(void* object); |
| 527 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 528 | private: |
| 529 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 530 | return _internal_metadata_.arena(); |
| 531 | } |
| 532 | inline void* MaybeArenaPtr() const { |
| 533 | return _internal_metadata_.raw_arena_ptr(); |
| 534 | } |
| 535 | public: |
| 536 | |
| 537 | ::google::protobuf::Metadata GetMetadata() const final; |
| 538 | |
| 539 | // nested types ---------------------------------------------------- |
| 540 | |
| 541 | // accessors ------------------------------------------------------- |
| 542 | |
| 543 | // repeated string dependency = 3; |
| 544 | int dependency_size() const; |
| 545 | void clear_dependency(); |
| 546 | static const int kDependencyFieldNumber = 3; |
| 547 | const ::std::string& dependency(int index) const; |
| 548 | ::std::string* mutable_dependency(int index); |
| 549 | void set_dependency(int index, const ::std::string& value); |
| 550 | #if LANG_CXX11 |
| 551 | void set_dependency(int index, ::std::string&& value); |
| 552 | #endif |
| 553 | void set_dependency(int index, const char* value); |
| 554 | void set_dependency(int index, const char* value, size_t size); |
| 555 | ::std::string* add_dependency(); |
| 556 | void add_dependency(const ::std::string& value); |
| 557 | #if LANG_CXX11 |
| 558 | void add_dependency(::std::string&& value); |
| 559 | #endif |
| 560 | void add_dependency(const char* value); |
| 561 | void add_dependency(const char* value, size_t size); |
| 562 | const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const; |
| 563 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency(); |
| 564 | |
| 565 | // repeated .google.protobuf.DescriptorProto message_type = 4; |
| 566 | int message_type_size() const; |
| 567 | void clear_message_type(); |
| 568 | static const int kMessageTypeFieldNumber = 4; |
| 569 | ::google::protobuf::DescriptorProto* mutable_message_type(int index); |
| 570 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| 571 | mutable_message_type(); |
| 572 | const ::google::protobuf::DescriptorProto& message_type(int index) const; |
| 573 | ::google::protobuf::DescriptorProto* add_message_type(); |
| 574 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| 575 | message_type() const; |
| 576 | |
| 577 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| 578 | int enum_type_size() const; |
| 579 | void clear_enum_type(); |
| 580 | static const int kEnumTypeFieldNumber = 5; |
| 581 | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
| 582 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| 583 | mutable_enum_type(); |
| 584 | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
| 585 | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
| 586 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| 587 | enum_type() const; |
| 588 | |
| 589 | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| 590 | int service_size() const; |
| 591 | void clear_service(); |
| 592 | static const int kServiceFieldNumber = 6; |
| 593 | ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); |
| 594 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >* |
| 595 | mutable_service(); |
| 596 | const ::google::protobuf::ServiceDescriptorProto& service(int index) const; |
| 597 | ::google::protobuf::ServiceDescriptorProto* add_service(); |
| 598 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >& |
| 599 | service() const; |
| 600 | |
| 601 | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| 602 | int extension_size() const; |
| 603 | void clear_extension(); |
| 604 | static const int kExtensionFieldNumber = 7; |
| 605 | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
| 606 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 607 | mutable_extension(); |
| 608 | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
| 609 | ::google::protobuf::FieldDescriptorProto* add_extension(); |
| 610 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 611 | extension() const; |
| 612 | |
| 613 | // repeated int32 public_dependency = 10; |
| 614 | int public_dependency_size() const; |
| 615 | void clear_public_dependency(); |
| 616 | static const int kPublicDependencyFieldNumber = 10; |
| 617 | ::google::protobuf::int32 public_dependency(int index) const; |
| 618 | void set_public_dependency(int index, ::google::protobuf::int32 value); |
| 619 | void add_public_dependency(::google::protobuf::int32 value); |
| 620 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 621 | public_dependency() const; |
| 622 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 623 | mutable_public_dependency(); |
| 624 | |
| 625 | // repeated int32 weak_dependency = 11; |
| 626 | int weak_dependency_size() const; |
| 627 | void clear_weak_dependency(); |
| 628 | static const int kWeakDependencyFieldNumber = 11; |
| 629 | ::google::protobuf::int32 weak_dependency(int index) const; |
| 630 | void set_weak_dependency(int index, ::google::protobuf::int32 value); |
| 631 | void add_weak_dependency(::google::protobuf::int32 value); |
| 632 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 633 | weak_dependency() const; |
| 634 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 635 | mutable_weak_dependency(); |
| 636 | |
| 637 | // optional string name = 1; |
| 638 | bool has_name() const; |
| 639 | void clear_name(); |
| 640 | static const int kNameFieldNumber = 1; |
| 641 | const ::std::string& name() const; |
| 642 | void set_name(const ::std::string& value); |
| 643 | #if LANG_CXX11 |
| 644 | void set_name(::std::string&& value); |
| 645 | #endif |
| 646 | void set_name(const char* value); |
| 647 | void set_name(const char* value, size_t size); |
| 648 | ::std::string* mutable_name(); |
| 649 | ::std::string* release_name(); |
| 650 | void set_allocated_name(::std::string* name); |
| 651 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 652 | " string fields are deprecated and will be removed in a" |
| 653 | " future release." ) |
| 654 | ::std::string* unsafe_arena_release_name(); |
| 655 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 656 | " string fields are deprecated and will be removed in a" |
| 657 | " future release." ) |
| 658 | void unsafe_arena_set_allocated_name( |
| 659 | ::std::string* name); |
| 660 | |
| 661 | // optional string package = 2; |
| 662 | bool has_package() const; |
| 663 | void clear_package(); |
| 664 | static const int kPackageFieldNumber = 2; |
| 665 | const ::std::string& package() const; |
| 666 | void set_package(const ::std::string& value); |
| 667 | #if LANG_CXX11 |
| 668 | void set_package(::std::string&& value); |
| 669 | #endif |
| 670 | void set_package(const char* value); |
| 671 | void set_package(const char* value, size_t size); |
| 672 | ::std::string* mutable_package(); |
| 673 | ::std::string* release_package(); |
| 674 | void set_allocated_package(::std::string* package); |
| 675 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 676 | " string fields are deprecated and will be removed in a" |
| 677 | " future release." ) |
| 678 | ::std::string* unsafe_arena_release_package(); |
| 679 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 680 | " string fields are deprecated and will be removed in a" |
| 681 | " future release." ) |
| 682 | void unsafe_arena_set_allocated_package( |
| 683 | ::std::string* package); |
| 684 | |
| 685 | // optional string syntax = 12; |
| 686 | bool has_syntax() const; |
| 687 | void clear_syntax(); |
| 688 | static const int kSyntaxFieldNumber = 12; |
| 689 | const ::std::string& syntax() const; |
| 690 | void set_syntax(const ::std::string& value); |
| 691 | #if LANG_CXX11 |
| 692 | void set_syntax(::std::string&& value); |
| 693 | #endif |
| 694 | void set_syntax(const char* value); |
| 695 | void set_syntax(const char* value, size_t size); |
| 696 | ::std::string* mutable_syntax(); |
| 697 | ::std::string* release_syntax(); |
| 698 | void set_allocated_syntax(::std::string* syntax); |
| 699 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 700 | " string fields are deprecated and will be removed in a" |
| 701 | " future release." ) |
| 702 | ::std::string* unsafe_arena_release_syntax(); |
| 703 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 704 | " string fields are deprecated and will be removed in a" |
| 705 | " future release." ) |
| 706 | void unsafe_arena_set_allocated_syntax( |
| 707 | ::std::string* syntax); |
| 708 | |
| 709 | // optional .google.protobuf.FileOptions options = 8; |
| 710 | bool has_options() const; |
| 711 | void clear_options(); |
| 712 | static const int kOptionsFieldNumber = 8; |
| 713 | private: |
| 714 | const ::google::protobuf::FileOptions& _internal_options() const; |
| 715 | public: |
| 716 | const ::google::protobuf::FileOptions& options() const; |
| 717 | ::google::protobuf::FileOptions* release_options(); |
| 718 | ::google::protobuf::FileOptions* mutable_options(); |
| 719 | void set_allocated_options(::google::protobuf::FileOptions* options); |
| 720 | void unsafe_arena_set_allocated_options( |
| 721 | ::google::protobuf::FileOptions* options); |
| 722 | ::google::protobuf::FileOptions* unsafe_arena_release_options(); |
| 723 | |
| 724 | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| 725 | bool has_source_code_info() const; |
| 726 | void clear_source_code_info(); |
| 727 | static const int kSourceCodeInfoFieldNumber = 9; |
| 728 | private: |
| 729 | const ::google::protobuf::SourceCodeInfo& _internal_source_code_info() const; |
| 730 | public: |
| 731 | const ::google::protobuf::SourceCodeInfo& source_code_info() const; |
| 732 | ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
| 733 | ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
| 734 | void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info); |
| 735 | void unsafe_arena_set_allocated_source_code_info( |
| 736 | ::google::protobuf::SourceCodeInfo* source_code_info); |
| 737 | ::google::protobuf::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
| 738 | |
| 739 | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
| 740 | private: |
| 741 | void set_has_name(); |
| 742 | void clear_has_name(); |
| 743 | void set_has_package(); |
| 744 | void clear_has_package(); |
| 745 | void set_has_options(); |
| 746 | void clear_has_options(); |
| 747 | void set_has_source_code_info(); |
| 748 | void clear_has_source_code_info(); |
| 749 | void set_has_syntax(); |
| 750 | void clear_has_syntax(); |
| 751 | |
| 752 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 753 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 754 | typedef void InternalArenaConstructable_; |
| 755 | typedef void DestructorSkippable_; |
| 756 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 757 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 758 | ::google::protobuf::RepeatedPtrField< ::std::string> dependency_; |
| 759 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_; |
| 760 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
| 761 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_; |
| 762 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
| 763 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_; |
| 764 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_; |
| 765 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 766 | ::google::protobuf::internal::ArenaStringPtr package_; |
| 767 | ::google::protobuf::internal::ArenaStringPtr syntax_; |
| 768 | ::google::protobuf::FileOptions* options_; |
| 769 | ::google::protobuf::SourceCodeInfo* source_code_info_; |
| 770 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 771 | }; |
| 772 | // ------------------------------------------------------------------- |
| 773 | |
| 774 | class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
| 775 | public: |
| 776 | DescriptorProto_ExtensionRange(); |
| 777 | virtual ~DescriptorProto_ExtensionRange(); |
| 778 | |
| 779 | DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
| 780 | |
| 781 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
| 782 | CopyFrom(from); |
| 783 | return *this; |
| 784 | } |
| 785 | #if LANG_CXX11 |
| 786 | DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
| 787 | : DescriptorProto_ExtensionRange() { |
| 788 | *this = ::std::move(from); |
| 789 | } |
| 790 | |
| 791 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
| 792 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 793 | if (this != &from) InternalSwap(&from); |
| 794 | } else { |
| 795 | CopyFrom(from); |
| 796 | } |
| 797 | return *this; |
| 798 | } |
| 799 | #endif |
| 800 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 801 | return _internal_metadata_.unknown_fields(); |
| 802 | } |
| 803 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 804 | return _internal_metadata_.mutable_unknown_fields(); |
| 805 | } |
| 806 | |
| 807 | inline ::google::protobuf::Arena* GetArena() const final { |
| 808 | return GetArenaNoVirtual(); |
| 809 | } |
| 810 | inline void* GetMaybeArenaPointer() const final { |
| 811 | return MaybeArenaPtr(); |
| 812 | } |
| 813 | static const ::google::protobuf::Descriptor* descriptor(); |
| 814 | static const DescriptorProto_ExtensionRange& default_instance(); |
| 815 | |
| 816 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 817 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
| 818 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
| 819 | &_DescriptorProto_ExtensionRange_default_instance_); |
| 820 | } |
| 821 | static constexpr int kIndexInFileMessages = |
| 822 | 2; |
| 823 | |
| 824 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other); |
| 825 | void Swap(DescriptorProto_ExtensionRange* other); |
| 826 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { |
| 827 | a.Swap(&b); |
| 828 | } |
| 829 | |
| 830 | // implements Message ---------------------------------------------- |
| 831 | |
| 832 | inline DescriptorProto_ExtensionRange* New() const final { |
| 833 | return CreateMaybeMessage<DescriptorProto_ExtensionRange>(NULL); |
| 834 | } |
| 835 | |
| 836 | DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const final { |
| 837 | return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena); |
| 838 | } |
| 839 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 840 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 841 | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
| 842 | void MergeFrom(const DescriptorProto_ExtensionRange& from); |
| 843 | void Clear() final; |
| 844 | bool IsInitialized() const final; |
| 845 | |
| 846 | size_t ByteSizeLong() const final; |
| 847 | bool MergePartialFromCodedStream( |
| 848 | ::google::protobuf::io::CodedInputStream* input) final; |
| 849 | void SerializeWithCachedSizes( |
| 850 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 851 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 852 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 853 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 854 | |
| 855 | private: |
| 856 | void SharedCtor(); |
| 857 | void SharedDtor(); |
| 858 | void SetCachedSize(int size) const final; |
| 859 | void InternalSwap(DescriptorProto_ExtensionRange* other); |
| 860 | protected: |
| 861 | explicit DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena); |
| 862 | private: |
| 863 | static void ArenaDtor(void* object); |
| 864 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 865 | private: |
| 866 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 867 | return _internal_metadata_.arena(); |
| 868 | } |
| 869 | inline void* MaybeArenaPtr() const { |
| 870 | return _internal_metadata_.raw_arena_ptr(); |
| 871 | } |
| 872 | public: |
| 873 | |
| 874 | ::google::protobuf::Metadata GetMetadata() const final; |
| 875 | |
| 876 | // nested types ---------------------------------------------------- |
| 877 | |
| 878 | // accessors ------------------------------------------------------- |
| 879 | |
| 880 | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
| 881 | bool has_options() const; |
| 882 | void clear_options(); |
| 883 | static const int kOptionsFieldNumber = 3; |
| 884 | private: |
| 885 | const ::google::protobuf::ExtensionRangeOptions& _internal_options() const; |
| 886 | public: |
| 887 | const ::google::protobuf::ExtensionRangeOptions& options() const; |
| 888 | ::google::protobuf::ExtensionRangeOptions* release_options(); |
| 889 | ::google::protobuf::ExtensionRangeOptions* mutable_options(); |
| 890 | void set_allocated_options(::google::protobuf::ExtensionRangeOptions* options); |
| 891 | void unsafe_arena_set_allocated_options( |
| 892 | ::google::protobuf::ExtensionRangeOptions* options); |
| 893 | ::google::protobuf::ExtensionRangeOptions* unsafe_arena_release_options(); |
| 894 | |
| 895 | // optional int32 start = 1; |
| 896 | bool has_start() const; |
| 897 | void clear_start(); |
| 898 | static const int kStartFieldNumber = 1; |
| 899 | ::google::protobuf::int32 start() const; |
| 900 | void set_start(::google::protobuf::int32 value); |
| 901 | |
| 902 | // optional int32 end = 2; |
| 903 | bool has_end() const; |
| 904 | void clear_end(); |
| 905 | static const int kEndFieldNumber = 2; |
| 906 | ::google::protobuf::int32 end() const; |
| 907 | void set_end(::google::protobuf::int32 value); |
| 908 | |
| 909 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
| 910 | private: |
| 911 | void set_has_start(); |
| 912 | void clear_has_start(); |
| 913 | void set_has_end(); |
| 914 | void clear_has_end(); |
| 915 | void set_has_options(); |
| 916 | void clear_has_options(); |
| 917 | |
| 918 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 919 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 920 | typedef void InternalArenaConstructable_; |
| 921 | typedef void DestructorSkippable_; |
| 922 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 923 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 924 | ::google::protobuf::ExtensionRangeOptions* options_; |
| 925 | ::google::protobuf::int32 start_; |
| 926 | ::google::protobuf::int32 end_; |
| 927 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 928 | }; |
| 929 | // ------------------------------------------------------------------- |
| 930 | |
| 931 | class LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { |
| 932 | public: |
| 933 | DescriptorProto_ReservedRange(); |
| 934 | virtual ~DescriptorProto_ReservedRange(); |
| 935 | |
| 936 | DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
| 937 | |
| 938 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
| 939 | CopyFrom(from); |
| 940 | return *this; |
| 941 | } |
| 942 | #if LANG_CXX11 |
| 943 | DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
| 944 | : DescriptorProto_ReservedRange() { |
| 945 | *this = ::std::move(from); |
| 946 | } |
| 947 | |
| 948 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
| 949 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 950 | if (this != &from) InternalSwap(&from); |
| 951 | } else { |
| 952 | CopyFrom(from); |
| 953 | } |
| 954 | return *this; |
| 955 | } |
| 956 | #endif |
| 957 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 958 | return _internal_metadata_.unknown_fields(); |
| 959 | } |
| 960 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 961 | return _internal_metadata_.mutable_unknown_fields(); |
| 962 | } |
| 963 | |
| 964 | inline ::google::protobuf::Arena* GetArena() const final { |
| 965 | return GetArenaNoVirtual(); |
| 966 | } |
| 967 | inline void* GetMaybeArenaPointer() const final { |
| 968 | return MaybeArenaPtr(); |
| 969 | } |
| 970 | static const ::google::protobuf::Descriptor* descriptor(); |
| 971 | static const DescriptorProto_ReservedRange& default_instance(); |
| 972 | |
| 973 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 974 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
| 975 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
| 976 | &_DescriptorProto_ReservedRange_default_instance_); |
| 977 | } |
| 978 | static constexpr int kIndexInFileMessages = |
| 979 | 3; |
| 980 | |
| 981 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other); |
| 982 | void Swap(DescriptorProto_ReservedRange* other); |
| 983 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { |
| 984 | a.Swap(&b); |
| 985 | } |
| 986 | |
| 987 | // implements Message ---------------------------------------------- |
| 988 | |
| 989 | inline DescriptorProto_ReservedRange* New() const final { |
| 990 | return CreateMaybeMessage<DescriptorProto_ReservedRange>(NULL); |
| 991 | } |
| 992 | |
| 993 | DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const final { |
| 994 | return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena); |
| 995 | } |
| 996 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 997 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 998 | void CopyFrom(const DescriptorProto_ReservedRange& from); |
| 999 | void MergeFrom(const DescriptorProto_ReservedRange& from); |
| 1000 | void Clear() final; |
| 1001 | bool IsInitialized() const final; |
| 1002 | |
| 1003 | size_t ByteSizeLong() const final; |
| 1004 | bool MergePartialFromCodedStream( |
| 1005 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1006 | void SerializeWithCachedSizes( |
| 1007 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1008 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1009 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 1010 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1011 | |
| 1012 | private: |
| 1013 | void SharedCtor(); |
| 1014 | void SharedDtor(); |
| 1015 | void SetCachedSize(int size) const final; |
| 1016 | void InternalSwap(DescriptorProto_ReservedRange* other); |
| 1017 | protected: |
| 1018 | explicit DescriptorProto_ReservedRange(::google::protobuf::Arena* arena); |
| 1019 | private: |
| 1020 | static void ArenaDtor(void* object); |
| 1021 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 1022 | private: |
| 1023 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1024 | return _internal_metadata_.arena(); |
| 1025 | } |
| 1026 | inline void* MaybeArenaPtr() const { |
| 1027 | return _internal_metadata_.raw_arena_ptr(); |
| 1028 | } |
| 1029 | public: |
| 1030 | |
| 1031 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1032 | |
| 1033 | // nested types ---------------------------------------------------- |
| 1034 | |
| 1035 | // accessors ------------------------------------------------------- |
| 1036 | |
| 1037 | // optional int32 start = 1; |
| 1038 | bool has_start() const; |
| 1039 | void clear_start(); |
| 1040 | static const int kStartFieldNumber = 1; |
| 1041 | ::google::protobuf::int32 start() const; |
| 1042 | void set_start(::google::protobuf::int32 value); |
| 1043 | |
| 1044 | // optional int32 end = 2; |
| 1045 | bool has_end() const; |
| 1046 | void clear_end(); |
| 1047 | static const int kEndFieldNumber = 2; |
| 1048 | ::google::protobuf::int32 end() const; |
| 1049 | void set_end(::google::protobuf::int32 value); |
| 1050 | |
| 1051 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) |
| 1052 | private: |
| 1053 | void set_has_start(); |
| 1054 | void clear_has_start(); |
| 1055 | void set_has_end(); |
| 1056 | void clear_has_end(); |
| 1057 | |
| 1058 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1059 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 1060 | typedef void InternalArenaConstructable_; |
| 1061 | typedef void DestructorSkippable_; |
| 1062 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1063 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1064 | ::google::protobuf::int32 start_; |
| 1065 | ::google::protobuf::int32 end_; |
| 1066 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 1067 | }; |
| 1068 | // ------------------------------------------------------------------- |
| 1069 | |
| 1070 | class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
| 1071 | public: |
| 1072 | DescriptorProto(); |
| 1073 | virtual ~DescriptorProto(); |
| 1074 | |
| 1075 | DescriptorProto(const DescriptorProto& from); |
| 1076 | |
| 1077 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
| 1078 | CopyFrom(from); |
| 1079 | return *this; |
| 1080 | } |
| 1081 | #if LANG_CXX11 |
| 1082 | DescriptorProto(DescriptorProto&& from) noexcept |
| 1083 | : DescriptorProto() { |
| 1084 | *this = ::std::move(from); |
| 1085 | } |
| 1086 | |
| 1087 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
| 1088 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1089 | if (this != &from) InternalSwap(&from); |
| 1090 | } else { |
| 1091 | CopyFrom(from); |
| 1092 | } |
| 1093 | return *this; |
| 1094 | } |
| 1095 | #endif |
| 1096 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1097 | return _internal_metadata_.unknown_fields(); |
| 1098 | } |
| 1099 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1100 | return _internal_metadata_.mutable_unknown_fields(); |
| 1101 | } |
| 1102 | |
| 1103 | inline ::google::protobuf::Arena* GetArena() const final { |
| 1104 | return GetArenaNoVirtual(); |
| 1105 | } |
| 1106 | inline void* GetMaybeArenaPointer() const final { |
| 1107 | return MaybeArenaPtr(); |
| 1108 | } |
| 1109 | static const ::google::protobuf::Descriptor* descriptor(); |
| 1110 | static const DescriptorProto& default_instance(); |
| 1111 | |
| 1112 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1113 | static inline const DescriptorProto* internal_default_instance() { |
| 1114 | return reinterpret_cast<const DescriptorProto*>( |
| 1115 | &_DescriptorProto_default_instance_); |
| 1116 | } |
| 1117 | static constexpr int kIndexInFileMessages = |
| 1118 | 4; |
| 1119 | |
| 1120 | void UnsafeArenaSwap(DescriptorProto* other); |
| 1121 | void Swap(DescriptorProto* other); |
| 1122 | friend void swap(DescriptorProto& a, DescriptorProto& b) { |
| 1123 | a.Swap(&b); |
| 1124 | } |
| 1125 | |
| 1126 | // implements Message ---------------------------------------------- |
| 1127 | |
| 1128 | inline DescriptorProto* New() const final { |
| 1129 | return CreateMaybeMessage<DescriptorProto>(NULL); |
| 1130 | } |
| 1131 | |
| 1132 | DescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 1133 | return CreateMaybeMessage<DescriptorProto>(arena); |
| 1134 | } |
| 1135 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1136 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1137 | void CopyFrom(const DescriptorProto& from); |
| 1138 | void MergeFrom(const DescriptorProto& from); |
| 1139 | void Clear() final; |
| 1140 | bool IsInitialized() const final; |
| 1141 | |
| 1142 | size_t ByteSizeLong() const final; |
| 1143 | bool MergePartialFromCodedStream( |
| 1144 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1145 | void SerializeWithCachedSizes( |
| 1146 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1147 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1148 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 1149 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1150 | |
| 1151 | private: |
| 1152 | void SharedCtor(); |
| 1153 | void SharedDtor(); |
| 1154 | void SetCachedSize(int size) const final; |
| 1155 | void InternalSwap(DescriptorProto* other); |
| 1156 | protected: |
| 1157 | explicit DescriptorProto(::google::protobuf::Arena* arena); |
| 1158 | private: |
| 1159 | static void ArenaDtor(void* object); |
| 1160 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 1161 | private: |
| 1162 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1163 | return _internal_metadata_.arena(); |
| 1164 | } |
| 1165 | inline void* MaybeArenaPtr() const { |
| 1166 | return _internal_metadata_.raw_arena_ptr(); |
| 1167 | } |
| 1168 | public: |
| 1169 | |
| 1170 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1171 | |
| 1172 | // nested types ---------------------------------------------------- |
| 1173 | |
| 1174 | typedef DescriptorProto_ExtensionRange ExtensionRange; |
| 1175 | typedef DescriptorProto_ReservedRange ReservedRange; |
| 1176 | |
| 1177 | // accessors ------------------------------------------------------- |
| 1178 | |
| 1179 | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| 1180 | int field_size() const; |
| 1181 | void clear_field(); |
| 1182 | static const int kFieldFieldNumber = 2; |
| 1183 | ::google::protobuf::FieldDescriptorProto* mutable_field(int index); |
| 1184 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 1185 | mutable_field(); |
| 1186 | const ::google::protobuf::FieldDescriptorProto& field(int index) const; |
| 1187 | ::google::protobuf::FieldDescriptorProto* add_field(); |
| 1188 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 1189 | field() const; |
| 1190 | |
| 1191 | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
| 1192 | int nested_type_size() const; |
| 1193 | void clear_nested_type(); |
| 1194 | static const int kNestedTypeFieldNumber = 3; |
| 1195 | ::google::protobuf::DescriptorProto* mutable_nested_type(int index); |
| 1196 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| 1197 | mutable_nested_type(); |
| 1198 | const ::google::protobuf::DescriptorProto& nested_type(int index) const; |
| 1199 | ::google::protobuf::DescriptorProto* add_nested_type(); |
| 1200 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| 1201 | nested_type() const; |
| 1202 | |
| 1203 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
| 1204 | int enum_type_size() const; |
| 1205 | void clear_enum_type(); |
| 1206 | static const int kEnumTypeFieldNumber = 4; |
| 1207 | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
| 1208 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| 1209 | mutable_enum_type(); |
| 1210 | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
| 1211 | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
| 1212 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| 1213 | enum_type() const; |
| 1214 | |
| 1215 | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
| 1216 | int extension_range_size() const; |
| 1217 | void clear_extension_range(); |
| 1218 | static const int kExtensionRangeFieldNumber = 5; |
| 1219 | ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
| 1220 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >* |
| 1221 | mutable_extension_range(); |
| 1222 | const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const; |
| 1223 | ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range(); |
| 1224 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >& |
| 1225 | extension_range() const; |
| 1226 | |
| 1227 | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
| 1228 | int extension_size() const; |
| 1229 | void clear_extension(); |
| 1230 | static const int kExtensionFieldNumber = 6; |
| 1231 | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
| 1232 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 1233 | mutable_extension(); |
| 1234 | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
| 1235 | ::google::protobuf::FieldDescriptorProto* add_extension(); |
| 1236 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 1237 | extension() const; |
| 1238 | |
| 1239 | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
| 1240 | int oneof_decl_size() const; |
| 1241 | void clear_oneof_decl(); |
| 1242 | static const int kOneofDeclFieldNumber = 8; |
| 1243 | ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index); |
| 1244 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >* |
| 1245 | mutable_oneof_decl(); |
| 1246 | const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const; |
| 1247 | ::google::protobuf::OneofDescriptorProto* add_oneof_decl(); |
| 1248 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >& |
| 1249 | oneof_decl() const; |
| 1250 | |
| 1251 | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
| 1252 | int reserved_range_size() const; |
| 1253 | void clear_reserved_range(); |
| 1254 | static const int kReservedRangeFieldNumber = 9; |
| 1255 | ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
| 1256 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >* |
| 1257 | mutable_reserved_range(); |
| 1258 | const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const; |
| 1259 | ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range(); |
| 1260 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >& |
| 1261 | reserved_range() const; |
| 1262 | |
| 1263 | // repeated string reserved_name = 10; |
| 1264 | int reserved_name_size() const; |
| 1265 | void clear_reserved_name(); |
| 1266 | static const int kReservedNameFieldNumber = 10; |
| 1267 | const ::std::string& reserved_name(int index) const; |
| 1268 | ::std::string* mutable_reserved_name(int index); |
| 1269 | void set_reserved_name(int index, const ::std::string& value); |
| 1270 | #if LANG_CXX11 |
| 1271 | void set_reserved_name(int index, ::std::string&& value); |
| 1272 | #endif |
| 1273 | void set_reserved_name(int index, const char* value); |
| 1274 | void set_reserved_name(int index, const char* value, size_t size); |
| 1275 | ::std::string* add_reserved_name(); |
| 1276 | void add_reserved_name(const ::std::string& value); |
| 1277 | #if LANG_CXX11 |
| 1278 | void add_reserved_name(::std::string&& value); |
| 1279 | #endif |
| 1280 | void add_reserved_name(const char* value); |
| 1281 | void add_reserved_name(const char* value, size_t size); |
| 1282 | const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() const; |
| 1283 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); |
| 1284 | |
| 1285 | // optional string name = 1; |
| 1286 | bool has_name() const; |
| 1287 | void clear_name(); |
| 1288 | static const int kNameFieldNumber = 1; |
| 1289 | const ::std::string& name() const; |
| 1290 | void set_name(const ::std::string& value); |
| 1291 | #if LANG_CXX11 |
| 1292 | void set_name(::std::string&& value); |
| 1293 | #endif |
| 1294 | void set_name(const char* value); |
| 1295 | void set_name(const char* value, size_t size); |
| 1296 | ::std::string* mutable_name(); |
| 1297 | ::std::string* release_name(); |
| 1298 | void set_allocated_name(::std::string* name); |
| 1299 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1300 | " string fields are deprecated and will be removed in a" |
| 1301 | " future release." ) |
| 1302 | ::std::string* unsafe_arena_release_name(); |
| 1303 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1304 | " string fields are deprecated and will be removed in a" |
| 1305 | " future release." ) |
| 1306 | void unsafe_arena_set_allocated_name( |
| 1307 | ::std::string* name); |
| 1308 | |
| 1309 | // optional .google.protobuf.MessageOptions options = 7; |
| 1310 | bool has_options() const; |
| 1311 | void clear_options(); |
| 1312 | static const int kOptionsFieldNumber = 7; |
| 1313 | private: |
| 1314 | const ::google::protobuf::MessageOptions& _internal_options() const; |
| 1315 | public: |
| 1316 | const ::google::protobuf::MessageOptions& options() const; |
| 1317 | ::google::protobuf::MessageOptions* release_options(); |
| 1318 | ::google::protobuf::MessageOptions* mutable_options(); |
| 1319 | void set_allocated_options(::google::protobuf::MessageOptions* options); |
| 1320 | void unsafe_arena_set_allocated_options( |
| 1321 | ::google::protobuf::MessageOptions* options); |
| 1322 | ::google::protobuf::MessageOptions* unsafe_arena_release_options(); |
| 1323 | |
| 1324 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
| 1325 | private: |
| 1326 | void set_has_name(); |
| 1327 | void clear_has_name(); |
| 1328 | void set_has_options(); |
| 1329 | void clear_has_options(); |
| 1330 | |
| 1331 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1332 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 1333 | typedef void InternalArenaConstructable_; |
| 1334 | typedef void DestructorSkippable_; |
| 1335 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1336 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1337 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; |
| 1338 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_; |
| 1339 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
| 1340 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_; |
| 1341 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
| 1342 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_; |
| 1343 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_; |
| 1344 | ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; |
| 1345 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 1346 | ::google::protobuf::MessageOptions* options_; |
| 1347 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 1348 | }; |
| 1349 | // ------------------------------------------------------------------- |
| 1350 | |
| 1351 | class LIBPROTOBUF_EXPORT ExtensionRangeOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { |
| 1352 | public: |
| 1353 | ExtensionRangeOptions(); |
| 1354 | virtual ~ExtensionRangeOptions(); |
| 1355 | |
| 1356 | ExtensionRangeOptions(const ExtensionRangeOptions& from); |
| 1357 | |
| 1358 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
| 1359 | CopyFrom(from); |
| 1360 | return *this; |
| 1361 | } |
| 1362 | #if LANG_CXX11 |
| 1363 | ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
| 1364 | : ExtensionRangeOptions() { |
| 1365 | *this = ::std::move(from); |
| 1366 | } |
| 1367 | |
| 1368 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
| 1369 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1370 | if (this != &from) InternalSwap(&from); |
| 1371 | } else { |
| 1372 | CopyFrom(from); |
| 1373 | } |
| 1374 | return *this; |
| 1375 | } |
| 1376 | #endif |
| 1377 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1378 | return _internal_metadata_.unknown_fields(); |
| 1379 | } |
| 1380 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1381 | return _internal_metadata_.mutable_unknown_fields(); |
| 1382 | } |
| 1383 | |
| 1384 | inline ::google::protobuf::Arena* GetArena() const final { |
| 1385 | return GetArenaNoVirtual(); |
| 1386 | } |
| 1387 | inline void* GetMaybeArenaPointer() const final { |
| 1388 | return MaybeArenaPtr(); |
| 1389 | } |
| 1390 | static const ::google::protobuf::Descriptor* descriptor(); |
| 1391 | static const ExtensionRangeOptions& default_instance(); |
| 1392 | |
| 1393 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1394 | static inline const ExtensionRangeOptions* internal_default_instance() { |
| 1395 | return reinterpret_cast<const ExtensionRangeOptions*>( |
| 1396 | &_ExtensionRangeOptions_default_instance_); |
| 1397 | } |
| 1398 | static constexpr int kIndexInFileMessages = |
| 1399 | 5; |
| 1400 | |
| 1401 | void UnsafeArenaSwap(ExtensionRangeOptions* other); |
| 1402 | void Swap(ExtensionRangeOptions* other); |
| 1403 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { |
| 1404 | a.Swap(&b); |
| 1405 | } |
| 1406 | |
| 1407 | // implements Message ---------------------------------------------- |
| 1408 | |
| 1409 | inline ExtensionRangeOptions* New() const final { |
| 1410 | return CreateMaybeMessage<ExtensionRangeOptions>(NULL); |
| 1411 | } |
| 1412 | |
| 1413 | ExtensionRangeOptions* New(::google::protobuf::Arena* arena) const final { |
| 1414 | return CreateMaybeMessage<ExtensionRangeOptions>(arena); |
| 1415 | } |
| 1416 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1417 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1418 | void CopyFrom(const ExtensionRangeOptions& from); |
| 1419 | void MergeFrom(const ExtensionRangeOptions& from); |
| 1420 | void Clear() final; |
| 1421 | bool IsInitialized() const final; |
| 1422 | |
| 1423 | size_t ByteSizeLong() const final; |
| 1424 | bool MergePartialFromCodedStream( |
| 1425 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1426 | void SerializeWithCachedSizes( |
| 1427 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1428 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1429 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 1430 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1431 | |
| 1432 | private: |
| 1433 | void SharedCtor(); |
| 1434 | void SharedDtor(); |
| 1435 | void SetCachedSize(int size) const final; |
| 1436 | void InternalSwap(ExtensionRangeOptions* other); |
| 1437 | protected: |
| 1438 | explicit ExtensionRangeOptions(::google::protobuf::Arena* arena); |
| 1439 | private: |
| 1440 | static void ArenaDtor(void* object); |
| 1441 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 1442 | private: |
| 1443 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1444 | return _internal_metadata_.arena(); |
| 1445 | } |
| 1446 | inline void* MaybeArenaPtr() const { |
| 1447 | return _internal_metadata_.raw_arena_ptr(); |
| 1448 | } |
| 1449 | public: |
| 1450 | |
| 1451 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1452 | |
| 1453 | // nested types ---------------------------------------------------- |
| 1454 | |
| 1455 | // accessors ------------------------------------------------------- |
| 1456 | |
| 1457 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 1458 | int uninterpreted_option_size() const; |
| 1459 | void clear_uninterpreted_option(); |
| 1460 | static const int kUninterpretedOptionFieldNumber = 999; |
| 1461 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 1462 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 1463 | mutable_uninterpreted_option(); |
| 1464 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 1465 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 1466 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 1467 | uninterpreted_option() const; |
| 1468 | |
| 1469 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ExtensionRangeOptions) |
| 1470 | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) |
| 1471 | private: |
| 1472 | |
| 1473 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 1474 | |
| 1475 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1476 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 1477 | typedef void InternalArenaConstructable_; |
| 1478 | typedef void DestructorSkippable_; |
| 1479 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1480 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1481 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 1482 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 1483 | }; |
| 1484 | // ------------------------------------------------------------------- |
| 1485 | |
| 1486 | class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
| 1487 | public: |
| 1488 | FieldDescriptorProto(); |
| 1489 | virtual ~FieldDescriptorProto(); |
| 1490 | |
| 1491 | FieldDescriptorProto(const FieldDescriptorProto& from); |
| 1492 | |
| 1493 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
| 1494 | CopyFrom(from); |
| 1495 | return *this; |
| 1496 | } |
| 1497 | #if LANG_CXX11 |
| 1498 | FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
| 1499 | : FieldDescriptorProto() { |
| 1500 | *this = ::std::move(from); |
| 1501 | } |
| 1502 | |
| 1503 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
| 1504 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1505 | if (this != &from) InternalSwap(&from); |
| 1506 | } else { |
| 1507 | CopyFrom(from); |
| 1508 | } |
| 1509 | return *this; |
| 1510 | } |
| 1511 | #endif |
| 1512 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1513 | return _internal_metadata_.unknown_fields(); |
| 1514 | } |
| 1515 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1516 | return _internal_metadata_.mutable_unknown_fields(); |
| 1517 | } |
| 1518 | |
| 1519 | inline ::google::protobuf::Arena* GetArena() const final { |
| 1520 | return GetArenaNoVirtual(); |
| 1521 | } |
| 1522 | inline void* GetMaybeArenaPointer() const final { |
| 1523 | return MaybeArenaPtr(); |
| 1524 | } |
| 1525 | static const ::google::protobuf::Descriptor* descriptor(); |
| 1526 | static const FieldDescriptorProto& default_instance(); |
| 1527 | |
| 1528 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1529 | static inline const FieldDescriptorProto* internal_default_instance() { |
| 1530 | return reinterpret_cast<const FieldDescriptorProto*>( |
| 1531 | &_FieldDescriptorProto_default_instance_); |
| 1532 | } |
| 1533 | static constexpr int kIndexInFileMessages = |
| 1534 | 6; |
| 1535 | |
| 1536 | void UnsafeArenaSwap(FieldDescriptorProto* other); |
| 1537 | void Swap(FieldDescriptorProto* other); |
| 1538 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { |
| 1539 | a.Swap(&b); |
| 1540 | } |
| 1541 | |
| 1542 | // implements Message ---------------------------------------------- |
| 1543 | |
| 1544 | inline FieldDescriptorProto* New() const final { |
| 1545 | return CreateMaybeMessage<FieldDescriptorProto>(NULL); |
| 1546 | } |
| 1547 | |
| 1548 | FieldDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 1549 | return CreateMaybeMessage<FieldDescriptorProto>(arena); |
| 1550 | } |
| 1551 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1552 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1553 | void CopyFrom(const FieldDescriptorProto& from); |
| 1554 | void MergeFrom(const FieldDescriptorProto& from); |
| 1555 | void Clear() final; |
| 1556 | bool IsInitialized() const final; |
| 1557 | |
| 1558 | size_t ByteSizeLong() const final; |
| 1559 | bool MergePartialFromCodedStream( |
| 1560 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1561 | void SerializeWithCachedSizes( |
| 1562 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1563 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1564 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 1565 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1566 | |
| 1567 | private: |
| 1568 | void SharedCtor(); |
| 1569 | void SharedDtor(); |
| 1570 | void SetCachedSize(int size) const final; |
| 1571 | void InternalSwap(FieldDescriptorProto* other); |
| 1572 | protected: |
| 1573 | explicit FieldDescriptorProto(::google::protobuf::Arena* arena); |
| 1574 | private: |
| 1575 | static void ArenaDtor(void* object); |
| 1576 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 1577 | private: |
| 1578 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1579 | return _internal_metadata_.arena(); |
| 1580 | } |
| 1581 | inline void* MaybeArenaPtr() const { |
| 1582 | return _internal_metadata_.raw_arena_ptr(); |
| 1583 | } |
| 1584 | public: |
| 1585 | |
| 1586 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1587 | |
| 1588 | // nested types ---------------------------------------------------- |
| 1589 | |
| 1590 | typedef FieldDescriptorProto_Type Type; |
| 1591 | static const Type TYPE_DOUBLE = |
| 1592 | FieldDescriptorProto_Type_TYPE_DOUBLE; |
| 1593 | static const Type TYPE_FLOAT = |
| 1594 | FieldDescriptorProto_Type_TYPE_FLOAT; |
| 1595 | static const Type TYPE_INT64 = |
| 1596 | FieldDescriptorProto_Type_TYPE_INT64; |
| 1597 | static const Type TYPE_UINT64 = |
| 1598 | FieldDescriptorProto_Type_TYPE_UINT64; |
| 1599 | static const Type TYPE_INT32 = |
| 1600 | FieldDescriptorProto_Type_TYPE_INT32; |
| 1601 | static const Type TYPE_FIXED64 = |
| 1602 | FieldDescriptorProto_Type_TYPE_FIXED64; |
| 1603 | static const Type TYPE_FIXED32 = |
| 1604 | FieldDescriptorProto_Type_TYPE_FIXED32; |
| 1605 | static const Type TYPE_BOOL = |
| 1606 | FieldDescriptorProto_Type_TYPE_BOOL; |
| 1607 | static const Type TYPE_STRING = |
| 1608 | FieldDescriptorProto_Type_TYPE_STRING; |
| 1609 | static const Type TYPE_GROUP = |
| 1610 | FieldDescriptorProto_Type_TYPE_GROUP; |
| 1611 | static const Type TYPE_MESSAGE = |
| 1612 | FieldDescriptorProto_Type_TYPE_MESSAGE; |
| 1613 | static const Type TYPE_BYTES = |
| 1614 | FieldDescriptorProto_Type_TYPE_BYTES; |
| 1615 | static const Type TYPE_UINT32 = |
| 1616 | FieldDescriptorProto_Type_TYPE_UINT32; |
| 1617 | static const Type TYPE_ENUM = |
| 1618 | FieldDescriptorProto_Type_TYPE_ENUM; |
| 1619 | static const Type TYPE_SFIXED32 = |
| 1620 | FieldDescriptorProto_Type_TYPE_SFIXED32; |
| 1621 | static const Type TYPE_SFIXED64 = |
| 1622 | FieldDescriptorProto_Type_TYPE_SFIXED64; |
| 1623 | static const Type TYPE_SINT32 = |
| 1624 | FieldDescriptorProto_Type_TYPE_SINT32; |
| 1625 | static const Type TYPE_SINT64 = |
| 1626 | FieldDescriptorProto_Type_TYPE_SINT64; |
| 1627 | static inline bool Type_IsValid(int value) { |
| 1628 | return FieldDescriptorProto_Type_IsValid(value); |
| 1629 | } |
| 1630 | static const Type Type_MIN = |
| 1631 | FieldDescriptorProto_Type_Type_MIN; |
| 1632 | static const Type Type_MAX = |
| 1633 | FieldDescriptorProto_Type_Type_MAX; |
| 1634 | static const int Type_ARRAYSIZE = |
| 1635 | FieldDescriptorProto_Type_Type_ARRAYSIZE; |
| 1636 | static inline const ::google::protobuf::EnumDescriptor* |
| 1637 | Type_descriptor() { |
| 1638 | return FieldDescriptorProto_Type_descriptor(); |
| 1639 | } |
| 1640 | static inline const ::std::string& Type_Name(Type value) { |
| 1641 | return FieldDescriptorProto_Type_Name(value); |
| 1642 | } |
| 1643 | static inline bool Type_Parse(const ::std::string& name, |
| 1644 | Type* value) { |
| 1645 | return FieldDescriptorProto_Type_Parse(name, value); |
| 1646 | } |
| 1647 | |
| 1648 | typedef FieldDescriptorProto_Label Label; |
| 1649 | static const Label LABEL_OPTIONAL = |
| 1650 | FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| 1651 | static const Label LABEL_REQUIRED = |
| 1652 | FieldDescriptorProto_Label_LABEL_REQUIRED; |
| 1653 | static const Label LABEL_REPEATED = |
| 1654 | FieldDescriptorProto_Label_LABEL_REPEATED; |
| 1655 | static inline bool Label_IsValid(int value) { |
| 1656 | return FieldDescriptorProto_Label_IsValid(value); |
| 1657 | } |
| 1658 | static const Label Label_MIN = |
| 1659 | FieldDescriptorProto_Label_Label_MIN; |
| 1660 | static const Label Label_MAX = |
| 1661 | FieldDescriptorProto_Label_Label_MAX; |
| 1662 | static const int Label_ARRAYSIZE = |
| 1663 | FieldDescriptorProto_Label_Label_ARRAYSIZE; |
| 1664 | static inline const ::google::protobuf::EnumDescriptor* |
| 1665 | Label_descriptor() { |
| 1666 | return FieldDescriptorProto_Label_descriptor(); |
| 1667 | } |
| 1668 | static inline const ::std::string& Label_Name(Label value) { |
| 1669 | return FieldDescriptorProto_Label_Name(value); |
| 1670 | } |
| 1671 | static inline bool Label_Parse(const ::std::string& name, |
| 1672 | Label* value) { |
| 1673 | return FieldDescriptorProto_Label_Parse(name, value); |
| 1674 | } |
| 1675 | |
| 1676 | // accessors ------------------------------------------------------- |
| 1677 | |
| 1678 | // optional string name = 1; |
| 1679 | bool has_name() const; |
| 1680 | void clear_name(); |
| 1681 | static const int kNameFieldNumber = 1; |
| 1682 | const ::std::string& name() const; |
| 1683 | void set_name(const ::std::string& value); |
| 1684 | #if LANG_CXX11 |
| 1685 | void set_name(::std::string&& value); |
| 1686 | #endif |
| 1687 | void set_name(const char* value); |
| 1688 | void set_name(const char* value, size_t size); |
| 1689 | ::std::string* mutable_name(); |
| 1690 | ::std::string* release_name(); |
| 1691 | void set_allocated_name(::std::string* name); |
| 1692 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1693 | " string fields are deprecated and will be removed in a" |
| 1694 | " future release." ) |
| 1695 | ::std::string* unsafe_arena_release_name(); |
| 1696 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1697 | " string fields are deprecated and will be removed in a" |
| 1698 | " future release." ) |
| 1699 | void unsafe_arena_set_allocated_name( |
| 1700 | ::std::string* name); |
| 1701 | |
| 1702 | // optional string extendee = 2; |
| 1703 | bool has_extendee() const; |
| 1704 | void clear_extendee(); |
| 1705 | static const int kExtendeeFieldNumber = 2; |
| 1706 | const ::std::string& extendee() const; |
| 1707 | void set_extendee(const ::std::string& value); |
| 1708 | #if LANG_CXX11 |
| 1709 | void set_extendee(::std::string&& value); |
| 1710 | #endif |
| 1711 | void set_extendee(const char* value); |
| 1712 | void set_extendee(const char* value, size_t size); |
| 1713 | ::std::string* mutable_extendee(); |
| 1714 | ::std::string* release_extendee(); |
| 1715 | void set_allocated_extendee(::std::string* extendee); |
| 1716 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1717 | " string fields are deprecated and will be removed in a" |
| 1718 | " future release." ) |
| 1719 | ::std::string* unsafe_arena_release_extendee(); |
| 1720 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1721 | " string fields are deprecated and will be removed in a" |
| 1722 | " future release." ) |
| 1723 | void unsafe_arena_set_allocated_extendee( |
| 1724 | ::std::string* extendee); |
| 1725 | |
| 1726 | // optional string type_name = 6; |
| 1727 | bool has_type_name() const; |
| 1728 | void clear_type_name(); |
| 1729 | static const int kTypeNameFieldNumber = 6; |
| 1730 | const ::std::string& type_name() const; |
| 1731 | void set_type_name(const ::std::string& value); |
| 1732 | #if LANG_CXX11 |
| 1733 | void set_type_name(::std::string&& value); |
| 1734 | #endif |
| 1735 | void set_type_name(const char* value); |
| 1736 | void set_type_name(const char* value, size_t size); |
| 1737 | ::std::string* mutable_type_name(); |
| 1738 | ::std::string* release_type_name(); |
| 1739 | void set_allocated_type_name(::std::string* type_name); |
| 1740 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1741 | " string fields are deprecated and will be removed in a" |
| 1742 | " future release." ) |
| 1743 | ::std::string* unsafe_arena_release_type_name(); |
| 1744 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1745 | " string fields are deprecated and will be removed in a" |
| 1746 | " future release." ) |
| 1747 | void unsafe_arena_set_allocated_type_name( |
| 1748 | ::std::string* type_name); |
| 1749 | |
| 1750 | // optional string default_value = 7; |
| 1751 | bool has_default_value() const; |
| 1752 | void clear_default_value(); |
| 1753 | static const int kDefaultValueFieldNumber = 7; |
| 1754 | const ::std::string& default_value() const; |
| 1755 | void set_default_value(const ::std::string& value); |
| 1756 | #if LANG_CXX11 |
| 1757 | void set_default_value(::std::string&& value); |
| 1758 | #endif |
| 1759 | void set_default_value(const char* value); |
| 1760 | void set_default_value(const char* value, size_t size); |
| 1761 | ::std::string* mutable_default_value(); |
| 1762 | ::std::string* release_default_value(); |
| 1763 | void set_allocated_default_value(::std::string* default_value); |
| 1764 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1765 | " string fields are deprecated and will be removed in a" |
| 1766 | " future release." ) |
| 1767 | ::std::string* unsafe_arena_release_default_value(); |
| 1768 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1769 | " string fields are deprecated and will be removed in a" |
| 1770 | " future release." ) |
| 1771 | void unsafe_arena_set_allocated_default_value( |
| 1772 | ::std::string* default_value); |
| 1773 | |
| 1774 | // optional string json_name = 10; |
| 1775 | bool has_json_name() const; |
| 1776 | void clear_json_name(); |
| 1777 | static const int kJsonNameFieldNumber = 10; |
| 1778 | const ::std::string& json_name() const; |
| 1779 | void set_json_name(const ::std::string& value); |
| 1780 | #if LANG_CXX11 |
| 1781 | void set_json_name(::std::string&& value); |
| 1782 | #endif |
| 1783 | void set_json_name(const char* value); |
| 1784 | void set_json_name(const char* value, size_t size); |
| 1785 | ::std::string* mutable_json_name(); |
| 1786 | ::std::string* release_json_name(); |
| 1787 | void set_allocated_json_name(::std::string* json_name); |
| 1788 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1789 | " string fields are deprecated and will be removed in a" |
| 1790 | " future release." ) |
| 1791 | ::std::string* unsafe_arena_release_json_name(); |
| 1792 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 1793 | " string fields are deprecated and will be removed in a" |
| 1794 | " future release." ) |
| 1795 | void unsafe_arena_set_allocated_json_name( |
| 1796 | ::std::string* json_name); |
| 1797 | |
| 1798 | // optional .google.protobuf.FieldOptions options = 8; |
| 1799 | bool has_options() const; |
| 1800 | void clear_options(); |
| 1801 | static const int kOptionsFieldNumber = 8; |
| 1802 | private: |
| 1803 | const ::google::protobuf::FieldOptions& _internal_options() const; |
| 1804 | public: |
| 1805 | const ::google::protobuf::FieldOptions& options() const; |
| 1806 | ::google::protobuf::FieldOptions* release_options(); |
| 1807 | ::google::protobuf::FieldOptions* mutable_options(); |
| 1808 | void set_allocated_options(::google::protobuf::FieldOptions* options); |
| 1809 | void unsafe_arena_set_allocated_options( |
| 1810 | ::google::protobuf::FieldOptions* options); |
| 1811 | ::google::protobuf::FieldOptions* unsafe_arena_release_options(); |
| 1812 | |
| 1813 | // optional int32 number = 3; |
| 1814 | bool has_number() const; |
| 1815 | void clear_number(); |
| 1816 | static const int kNumberFieldNumber = 3; |
| 1817 | ::google::protobuf::int32 number() const; |
| 1818 | void set_number(::google::protobuf::int32 value); |
| 1819 | |
| 1820 | // optional int32 oneof_index = 9; |
| 1821 | bool has_oneof_index() const; |
| 1822 | void clear_oneof_index(); |
| 1823 | static const int kOneofIndexFieldNumber = 9; |
| 1824 | ::google::protobuf::int32 oneof_index() const; |
| 1825 | void set_oneof_index(::google::protobuf::int32 value); |
| 1826 | |
| 1827 | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| 1828 | bool has_label() const; |
| 1829 | void clear_label(); |
| 1830 | static const int kLabelFieldNumber = 4; |
| 1831 | ::google::protobuf::FieldDescriptorProto_Label label() const; |
| 1832 | void set_label(::google::protobuf::FieldDescriptorProto_Label value); |
| 1833 | |
| 1834 | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| 1835 | bool has_type() const; |
| 1836 | void clear_type(); |
| 1837 | static const int kTypeFieldNumber = 5; |
| 1838 | ::google::protobuf::FieldDescriptorProto_Type type() const; |
| 1839 | void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
| 1840 | |
| 1841 | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
| 1842 | private: |
| 1843 | void set_has_name(); |
| 1844 | void clear_has_name(); |
| 1845 | void set_has_number(); |
| 1846 | void clear_has_number(); |
| 1847 | void set_has_label(); |
| 1848 | void clear_has_label(); |
| 1849 | void set_has_type(); |
| 1850 | void clear_has_type(); |
| 1851 | void set_has_type_name(); |
| 1852 | void clear_has_type_name(); |
| 1853 | void set_has_extendee(); |
| 1854 | void clear_has_extendee(); |
| 1855 | void set_has_default_value(); |
| 1856 | void clear_has_default_value(); |
| 1857 | void set_has_oneof_index(); |
| 1858 | void clear_has_oneof_index(); |
| 1859 | void set_has_json_name(); |
| 1860 | void clear_has_json_name(); |
| 1861 | void set_has_options(); |
| 1862 | void clear_has_options(); |
| 1863 | |
| 1864 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 1865 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 1866 | typedef void InternalArenaConstructable_; |
| 1867 | typedef void DestructorSkippable_; |
| 1868 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 1869 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 1870 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 1871 | ::google::protobuf::internal::ArenaStringPtr extendee_; |
| 1872 | ::google::protobuf::internal::ArenaStringPtr type_name_; |
| 1873 | ::google::protobuf::internal::ArenaStringPtr default_value_; |
| 1874 | ::google::protobuf::internal::ArenaStringPtr json_name_; |
| 1875 | ::google::protobuf::FieldOptions* options_; |
| 1876 | ::google::protobuf::int32 number_; |
| 1877 | ::google::protobuf::int32 oneof_index_; |
| 1878 | int label_; |
| 1879 | int type_; |
| 1880 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 1881 | }; |
| 1882 | // ------------------------------------------------------------------- |
| 1883 | |
| 1884 | class LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { |
| 1885 | public: |
| 1886 | OneofDescriptorProto(); |
| 1887 | virtual ~OneofDescriptorProto(); |
| 1888 | |
| 1889 | OneofDescriptorProto(const OneofDescriptorProto& from); |
| 1890 | |
| 1891 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
| 1892 | CopyFrom(from); |
| 1893 | return *this; |
| 1894 | } |
| 1895 | #if LANG_CXX11 |
| 1896 | OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
| 1897 | : OneofDescriptorProto() { |
| 1898 | *this = ::std::move(from); |
| 1899 | } |
| 1900 | |
| 1901 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
| 1902 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 1903 | if (this != &from) InternalSwap(&from); |
| 1904 | } else { |
| 1905 | CopyFrom(from); |
| 1906 | } |
| 1907 | return *this; |
| 1908 | } |
| 1909 | #endif |
| 1910 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 1911 | return _internal_metadata_.unknown_fields(); |
| 1912 | } |
| 1913 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 1914 | return _internal_metadata_.mutable_unknown_fields(); |
| 1915 | } |
| 1916 | |
| 1917 | inline ::google::protobuf::Arena* GetArena() const final { |
| 1918 | return GetArenaNoVirtual(); |
| 1919 | } |
| 1920 | inline void* GetMaybeArenaPointer() const final { |
| 1921 | return MaybeArenaPtr(); |
| 1922 | } |
| 1923 | static const ::google::protobuf::Descriptor* descriptor(); |
| 1924 | static const OneofDescriptorProto& default_instance(); |
| 1925 | |
| 1926 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 1927 | static inline const OneofDescriptorProto* internal_default_instance() { |
| 1928 | return reinterpret_cast<const OneofDescriptorProto*>( |
| 1929 | &_OneofDescriptorProto_default_instance_); |
| 1930 | } |
| 1931 | static constexpr int kIndexInFileMessages = |
| 1932 | 7; |
| 1933 | |
| 1934 | void UnsafeArenaSwap(OneofDescriptorProto* other); |
| 1935 | void Swap(OneofDescriptorProto* other); |
| 1936 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { |
| 1937 | a.Swap(&b); |
| 1938 | } |
| 1939 | |
| 1940 | // implements Message ---------------------------------------------- |
| 1941 | |
| 1942 | inline OneofDescriptorProto* New() const final { |
| 1943 | return CreateMaybeMessage<OneofDescriptorProto>(NULL); |
| 1944 | } |
| 1945 | |
| 1946 | OneofDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 1947 | return CreateMaybeMessage<OneofDescriptorProto>(arena); |
| 1948 | } |
| 1949 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 1950 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 1951 | void CopyFrom(const OneofDescriptorProto& from); |
| 1952 | void MergeFrom(const OneofDescriptorProto& from); |
| 1953 | void Clear() final; |
| 1954 | bool IsInitialized() const final; |
| 1955 | |
| 1956 | size_t ByteSizeLong() const final; |
| 1957 | bool MergePartialFromCodedStream( |
| 1958 | ::google::protobuf::io::CodedInputStream* input) final; |
| 1959 | void SerializeWithCachedSizes( |
| 1960 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 1961 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 1962 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 1963 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 1964 | |
| 1965 | private: |
| 1966 | void SharedCtor(); |
| 1967 | void SharedDtor(); |
| 1968 | void SetCachedSize(int size) const final; |
| 1969 | void InternalSwap(OneofDescriptorProto* other); |
| 1970 | protected: |
| 1971 | explicit OneofDescriptorProto(::google::protobuf::Arena* arena); |
| 1972 | private: |
| 1973 | static void ArenaDtor(void* object); |
| 1974 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 1975 | private: |
| 1976 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 1977 | return _internal_metadata_.arena(); |
| 1978 | } |
| 1979 | inline void* MaybeArenaPtr() const { |
| 1980 | return _internal_metadata_.raw_arena_ptr(); |
| 1981 | } |
| 1982 | public: |
| 1983 | |
| 1984 | ::google::protobuf::Metadata GetMetadata() const final; |
| 1985 | |
| 1986 | // nested types ---------------------------------------------------- |
| 1987 | |
| 1988 | // accessors ------------------------------------------------------- |
| 1989 | |
| 1990 | // optional string name = 1; |
| 1991 | bool has_name() const; |
| 1992 | void clear_name(); |
| 1993 | static const int kNameFieldNumber = 1; |
| 1994 | const ::std::string& name() const; |
| 1995 | void set_name(const ::std::string& value); |
| 1996 | #if LANG_CXX11 |
| 1997 | void set_name(::std::string&& value); |
| 1998 | #endif |
| 1999 | void set_name(const char* value); |
| 2000 | void set_name(const char* value, size_t size); |
| 2001 | ::std::string* mutable_name(); |
| 2002 | ::std::string* release_name(); |
| 2003 | void set_allocated_name(::std::string* name); |
| 2004 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2005 | " string fields are deprecated and will be removed in a" |
| 2006 | " future release." ) |
| 2007 | ::std::string* unsafe_arena_release_name(); |
| 2008 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2009 | " string fields are deprecated and will be removed in a" |
| 2010 | " future release." ) |
| 2011 | void unsafe_arena_set_allocated_name( |
| 2012 | ::std::string* name); |
| 2013 | |
| 2014 | // optional .google.protobuf.OneofOptions options = 2; |
| 2015 | bool has_options() const; |
| 2016 | void clear_options(); |
| 2017 | static const int kOptionsFieldNumber = 2; |
| 2018 | private: |
| 2019 | const ::google::protobuf::OneofOptions& _internal_options() const; |
| 2020 | public: |
| 2021 | const ::google::protobuf::OneofOptions& options() const; |
| 2022 | ::google::protobuf::OneofOptions* release_options(); |
| 2023 | ::google::protobuf::OneofOptions* mutable_options(); |
| 2024 | void set_allocated_options(::google::protobuf::OneofOptions* options); |
| 2025 | void unsafe_arena_set_allocated_options( |
| 2026 | ::google::protobuf::OneofOptions* options); |
| 2027 | ::google::protobuf::OneofOptions* unsafe_arena_release_options(); |
| 2028 | |
| 2029 | // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
| 2030 | private: |
| 2031 | void set_has_name(); |
| 2032 | void clear_has_name(); |
| 2033 | void set_has_options(); |
| 2034 | void clear_has_options(); |
| 2035 | |
| 2036 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2037 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2038 | typedef void InternalArenaConstructable_; |
| 2039 | typedef void DestructorSkippable_; |
| 2040 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2041 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2042 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 2043 | ::google::protobuf::OneofOptions* options_; |
| 2044 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2045 | }; |
| 2046 | // ------------------------------------------------------------------- |
| 2047 | |
| 2048 | class LIBPROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { |
| 2049 | public: |
| 2050 | EnumDescriptorProto_EnumReservedRange(); |
| 2051 | virtual ~EnumDescriptorProto_EnumReservedRange(); |
| 2052 | |
| 2053 | EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from); |
| 2054 | |
| 2055 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
| 2056 | CopyFrom(from); |
| 2057 | return *this; |
| 2058 | } |
| 2059 | #if LANG_CXX11 |
| 2060 | EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
| 2061 | : EnumDescriptorProto_EnumReservedRange() { |
| 2062 | *this = ::std::move(from); |
| 2063 | } |
| 2064 | |
| 2065 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
| 2066 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2067 | if (this != &from) InternalSwap(&from); |
| 2068 | } else { |
| 2069 | CopyFrom(from); |
| 2070 | } |
| 2071 | return *this; |
| 2072 | } |
| 2073 | #endif |
| 2074 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2075 | return _internal_metadata_.unknown_fields(); |
| 2076 | } |
| 2077 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2078 | return _internal_metadata_.mutable_unknown_fields(); |
| 2079 | } |
| 2080 | |
| 2081 | inline ::google::protobuf::Arena* GetArena() const final { |
| 2082 | return GetArenaNoVirtual(); |
| 2083 | } |
| 2084 | inline void* GetMaybeArenaPointer() const final { |
| 2085 | return MaybeArenaPtr(); |
| 2086 | } |
| 2087 | static const ::google::protobuf::Descriptor* descriptor(); |
| 2088 | static const EnumDescriptorProto_EnumReservedRange& default_instance(); |
| 2089 | |
| 2090 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2091 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
| 2092 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
| 2093 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
| 2094 | } |
| 2095 | static constexpr int kIndexInFileMessages = |
| 2096 | 8; |
| 2097 | |
| 2098 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other); |
| 2099 | void Swap(EnumDescriptorProto_EnumReservedRange* other); |
| 2100 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { |
| 2101 | a.Swap(&b); |
| 2102 | } |
| 2103 | |
| 2104 | // implements Message ---------------------------------------------- |
| 2105 | |
| 2106 | inline EnumDescriptorProto_EnumReservedRange* New() const final { |
| 2107 | return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(NULL); |
| 2108 | } |
| 2109 | |
| 2110 | EnumDescriptorProto_EnumReservedRange* New(::google::protobuf::Arena* arena) const final { |
| 2111 | return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena); |
| 2112 | } |
| 2113 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2114 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2115 | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
| 2116 | void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from); |
| 2117 | void Clear() final; |
| 2118 | bool IsInitialized() const final; |
| 2119 | |
| 2120 | size_t ByteSizeLong() const final; |
| 2121 | bool MergePartialFromCodedStream( |
| 2122 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2123 | void SerializeWithCachedSizes( |
| 2124 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2125 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2126 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 2127 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2128 | |
| 2129 | private: |
| 2130 | void SharedCtor(); |
| 2131 | void SharedDtor(); |
| 2132 | void SetCachedSize(int size) const final; |
| 2133 | void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); |
| 2134 | protected: |
| 2135 | explicit EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena); |
| 2136 | private: |
| 2137 | static void ArenaDtor(void* object); |
| 2138 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 2139 | private: |
| 2140 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2141 | return _internal_metadata_.arena(); |
| 2142 | } |
| 2143 | inline void* MaybeArenaPtr() const { |
| 2144 | return _internal_metadata_.raw_arena_ptr(); |
| 2145 | } |
| 2146 | public: |
| 2147 | |
| 2148 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2149 | |
| 2150 | // nested types ---------------------------------------------------- |
| 2151 | |
| 2152 | // accessors ------------------------------------------------------- |
| 2153 | |
| 2154 | // optional int32 start = 1; |
| 2155 | bool has_start() const; |
| 2156 | void clear_start(); |
| 2157 | static const int kStartFieldNumber = 1; |
| 2158 | ::google::protobuf::int32 start() const; |
| 2159 | void set_start(::google::protobuf::int32 value); |
| 2160 | |
| 2161 | // optional int32 end = 2; |
| 2162 | bool has_end() const; |
| 2163 | void clear_end(); |
| 2164 | static const int kEndFieldNumber = 2; |
| 2165 | ::google::protobuf::int32 end() const; |
| 2166 | void set_end(::google::protobuf::int32 value); |
| 2167 | |
| 2168 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) |
| 2169 | private: |
| 2170 | void set_has_start(); |
| 2171 | void clear_has_start(); |
| 2172 | void set_has_end(); |
| 2173 | void clear_has_end(); |
| 2174 | |
| 2175 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2176 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2177 | typedef void InternalArenaConstructable_; |
| 2178 | typedef void DestructorSkippable_; |
| 2179 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2180 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2181 | ::google::protobuf::int32 start_; |
| 2182 | ::google::protobuf::int32 end_; |
| 2183 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2184 | }; |
| 2185 | // ------------------------------------------------------------------- |
| 2186 | |
| 2187 | class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
| 2188 | public: |
| 2189 | EnumDescriptorProto(); |
| 2190 | virtual ~EnumDescriptorProto(); |
| 2191 | |
| 2192 | EnumDescriptorProto(const EnumDescriptorProto& from); |
| 2193 | |
| 2194 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
| 2195 | CopyFrom(from); |
| 2196 | return *this; |
| 2197 | } |
| 2198 | #if LANG_CXX11 |
| 2199 | EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
| 2200 | : EnumDescriptorProto() { |
| 2201 | *this = ::std::move(from); |
| 2202 | } |
| 2203 | |
| 2204 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
| 2205 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2206 | if (this != &from) InternalSwap(&from); |
| 2207 | } else { |
| 2208 | CopyFrom(from); |
| 2209 | } |
| 2210 | return *this; |
| 2211 | } |
| 2212 | #endif |
| 2213 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2214 | return _internal_metadata_.unknown_fields(); |
| 2215 | } |
| 2216 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2217 | return _internal_metadata_.mutable_unknown_fields(); |
| 2218 | } |
| 2219 | |
| 2220 | inline ::google::protobuf::Arena* GetArena() const final { |
| 2221 | return GetArenaNoVirtual(); |
| 2222 | } |
| 2223 | inline void* GetMaybeArenaPointer() const final { |
| 2224 | return MaybeArenaPtr(); |
| 2225 | } |
| 2226 | static const ::google::protobuf::Descriptor* descriptor(); |
| 2227 | static const EnumDescriptorProto& default_instance(); |
| 2228 | |
| 2229 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2230 | static inline const EnumDescriptorProto* internal_default_instance() { |
| 2231 | return reinterpret_cast<const EnumDescriptorProto*>( |
| 2232 | &_EnumDescriptorProto_default_instance_); |
| 2233 | } |
| 2234 | static constexpr int kIndexInFileMessages = |
| 2235 | 9; |
| 2236 | |
| 2237 | void UnsafeArenaSwap(EnumDescriptorProto* other); |
| 2238 | void Swap(EnumDescriptorProto* other); |
| 2239 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { |
| 2240 | a.Swap(&b); |
| 2241 | } |
| 2242 | |
| 2243 | // implements Message ---------------------------------------------- |
| 2244 | |
| 2245 | inline EnumDescriptorProto* New() const final { |
| 2246 | return CreateMaybeMessage<EnumDescriptorProto>(NULL); |
| 2247 | } |
| 2248 | |
| 2249 | EnumDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 2250 | return CreateMaybeMessage<EnumDescriptorProto>(arena); |
| 2251 | } |
| 2252 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2253 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2254 | void CopyFrom(const EnumDescriptorProto& from); |
| 2255 | void MergeFrom(const EnumDescriptorProto& from); |
| 2256 | void Clear() final; |
| 2257 | bool IsInitialized() const final; |
| 2258 | |
| 2259 | size_t ByteSizeLong() const final; |
| 2260 | bool MergePartialFromCodedStream( |
| 2261 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2262 | void SerializeWithCachedSizes( |
| 2263 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2264 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2265 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 2266 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2267 | |
| 2268 | private: |
| 2269 | void SharedCtor(); |
| 2270 | void SharedDtor(); |
| 2271 | void SetCachedSize(int size) const final; |
| 2272 | void InternalSwap(EnumDescriptorProto* other); |
| 2273 | protected: |
| 2274 | explicit EnumDescriptorProto(::google::protobuf::Arena* arena); |
| 2275 | private: |
| 2276 | static void ArenaDtor(void* object); |
| 2277 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 2278 | private: |
| 2279 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2280 | return _internal_metadata_.arena(); |
| 2281 | } |
| 2282 | inline void* MaybeArenaPtr() const { |
| 2283 | return _internal_metadata_.raw_arena_ptr(); |
| 2284 | } |
| 2285 | public: |
| 2286 | |
| 2287 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2288 | |
| 2289 | // nested types ---------------------------------------------------- |
| 2290 | |
| 2291 | typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange; |
| 2292 | |
| 2293 | // accessors ------------------------------------------------------- |
| 2294 | |
| 2295 | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| 2296 | int value_size() const; |
| 2297 | void clear_value(); |
| 2298 | static const int kValueFieldNumber = 2; |
| 2299 | ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
| 2300 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >* |
| 2301 | mutable_value(); |
| 2302 | const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
| 2303 | ::google::protobuf::EnumValueDescriptorProto* add_value(); |
| 2304 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >& |
| 2305 | value() const; |
| 2306 | |
| 2307 | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
| 2308 | int reserved_range_size() const; |
| 2309 | void clear_reserved_range(); |
| 2310 | static const int kReservedRangeFieldNumber = 4; |
| 2311 | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
| 2312 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange >* |
| 2313 | mutable_reserved_range(); |
| 2314 | const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
| 2315 | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
| 2316 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange >& |
| 2317 | reserved_range() const; |
| 2318 | |
| 2319 | // repeated string reserved_name = 5; |
| 2320 | int reserved_name_size() const; |
| 2321 | void clear_reserved_name(); |
| 2322 | static const int kReservedNameFieldNumber = 5; |
| 2323 | const ::std::string& reserved_name(int index) const; |
| 2324 | ::std::string* mutable_reserved_name(int index); |
| 2325 | void set_reserved_name(int index, const ::std::string& value); |
| 2326 | #if LANG_CXX11 |
| 2327 | void set_reserved_name(int index, ::std::string&& value); |
| 2328 | #endif |
| 2329 | void set_reserved_name(int index, const char* value); |
| 2330 | void set_reserved_name(int index, const char* value, size_t size); |
| 2331 | ::std::string* add_reserved_name(); |
| 2332 | void add_reserved_name(const ::std::string& value); |
| 2333 | #if LANG_CXX11 |
| 2334 | void add_reserved_name(::std::string&& value); |
| 2335 | #endif |
| 2336 | void add_reserved_name(const char* value); |
| 2337 | void add_reserved_name(const char* value, size_t size); |
| 2338 | const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() const; |
| 2339 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name(); |
| 2340 | |
| 2341 | // optional string name = 1; |
| 2342 | bool has_name() const; |
| 2343 | void clear_name(); |
| 2344 | static const int kNameFieldNumber = 1; |
| 2345 | const ::std::string& name() const; |
| 2346 | void set_name(const ::std::string& value); |
| 2347 | #if LANG_CXX11 |
| 2348 | void set_name(::std::string&& value); |
| 2349 | #endif |
| 2350 | void set_name(const char* value); |
| 2351 | void set_name(const char* value, size_t size); |
| 2352 | ::std::string* mutable_name(); |
| 2353 | ::std::string* release_name(); |
| 2354 | void set_allocated_name(::std::string* name); |
| 2355 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2356 | " string fields are deprecated and will be removed in a" |
| 2357 | " future release." ) |
| 2358 | ::std::string* unsafe_arena_release_name(); |
| 2359 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2360 | " string fields are deprecated and will be removed in a" |
| 2361 | " future release." ) |
| 2362 | void unsafe_arena_set_allocated_name( |
| 2363 | ::std::string* name); |
| 2364 | |
| 2365 | // optional .google.protobuf.EnumOptions options = 3; |
| 2366 | bool has_options() const; |
| 2367 | void clear_options(); |
| 2368 | static const int kOptionsFieldNumber = 3; |
| 2369 | private: |
| 2370 | const ::google::protobuf::EnumOptions& _internal_options() const; |
| 2371 | public: |
| 2372 | const ::google::protobuf::EnumOptions& options() const; |
| 2373 | ::google::protobuf::EnumOptions* release_options(); |
| 2374 | ::google::protobuf::EnumOptions* mutable_options(); |
| 2375 | void set_allocated_options(::google::protobuf::EnumOptions* options); |
| 2376 | void unsafe_arena_set_allocated_options( |
| 2377 | ::google::protobuf::EnumOptions* options); |
| 2378 | ::google::protobuf::EnumOptions* unsafe_arena_release_options(); |
| 2379 | |
| 2380 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
| 2381 | private: |
| 2382 | void set_has_name(); |
| 2383 | void clear_has_name(); |
| 2384 | void set_has_options(); |
| 2385 | void clear_has_options(); |
| 2386 | |
| 2387 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2388 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2389 | typedef void InternalArenaConstructable_; |
| 2390 | typedef void DestructorSkippable_; |
| 2391 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2392 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2393 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_; |
| 2394 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
| 2395 | ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_; |
| 2396 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 2397 | ::google::protobuf::EnumOptions* options_; |
| 2398 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2399 | }; |
| 2400 | // ------------------------------------------------------------------- |
| 2401 | |
| 2402 | class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
| 2403 | public: |
| 2404 | EnumValueDescriptorProto(); |
| 2405 | virtual ~EnumValueDescriptorProto(); |
| 2406 | |
| 2407 | EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
| 2408 | |
| 2409 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
| 2410 | CopyFrom(from); |
| 2411 | return *this; |
| 2412 | } |
| 2413 | #if LANG_CXX11 |
| 2414 | EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
| 2415 | : EnumValueDescriptorProto() { |
| 2416 | *this = ::std::move(from); |
| 2417 | } |
| 2418 | |
| 2419 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
| 2420 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2421 | if (this != &from) InternalSwap(&from); |
| 2422 | } else { |
| 2423 | CopyFrom(from); |
| 2424 | } |
| 2425 | return *this; |
| 2426 | } |
| 2427 | #endif |
| 2428 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2429 | return _internal_metadata_.unknown_fields(); |
| 2430 | } |
| 2431 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2432 | return _internal_metadata_.mutable_unknown_fields(); |
| 2433 | } |
| 2434 | |
| 2435 | inline ::google::protobuf::Arena* GetArena() const final { |
| 2436 | return GetArenaNoVirtual(); |
| 2437 | } |
| 2438 | inline void* GetMaybeArenaPointer() const final { |
| 2439 | return MaybeArenaPtr(); |
| 2440 | } |
| 2441 | static const ::google::protobuf::Descriptor* descriptor(); |
| 2442 | static const EnumValueDescriptorProto& default_instance(); |
| 2443 | |
| 2444 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2445 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
| 2446 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
| 2447 | &_EnumValueDescriptorProto_default_instance_); |
| 2448 | } |
| 2449 | static constexpr int kIndexInFileMessages = |
| 2450 | 10; |
| 2451 | |
| 2452 | void UnsafeArenaSwap(EnumValueDescriptorProto* other); |
| 2453 | void Swap(EnumValueDescriptorProto* other); |
| 2454 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { |
| 2455 | a.Swap(&b); |
| 2456 | } |
| 2457 | |
| 2458 | // implements Message ---------------------------------------------- |
| 2459 | |
| 2460 | inline EnumValueDescriptorProto* New() const final { |
| 2461 | return CreateMaybeMessage<EnumValueDescriptorProto>(NULL); |
| 2462 | } |
| 2463 | |
| 2464 | EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 2465 | return CreateMaybeMessage<EnumValueDescriptorProto>(arena); |
| 2466 | } |
| 2467 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2468 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2469 | void CopyFrom(const EnumValueDescriptorProto& from); |
| 2470 | void MergeFrom(const EnumValueDescriptorProto& from); |
| 2471 | void Clear() final; |
| 2472 | bool IsInitialized() const final; |
| 2473 | |
| 2474 | size_t ByteSizeLong() const final; |
| 2475 | bool MergePartialFromCodedStream( |
| 2476 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2477 | void SerializeWithCachedSizes( |
| 2478 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2479 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2480 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 2481 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2482 | |
| 2483 | private: |
| 2484 | void SharedCtor(); |
| 2485 | void SharedDtor(); |
| 2486 | void SetCachedSize(int size) const final; |
| 2487 | void InternalSwap(EnumValueDescriptorProto* other); |
| 2488 | protected: |
| 2489 | explicit EnumValueDescriptorProto(::google::protobuf::Arena* arena); |
| 2490 | private: |
| 2491 | static void ArenaDtor(void* object); |
| 2492 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 2493 | private: |
| 2494 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2495 | return _internal_metadata_.arena(); |
| 2496 | } |
| 2497 | inline void* MaybeArenaPtr() const { |
| 2498 | return _internal_metadata_.raw_arena_ptr(); |
| 2499 | } |
| 2500 | public: |
| 2501 | |
| 2502 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2503 | |
| 2504 | // nested types ---------------------------------------------------- |
| 2505 | |
| 2506 | // accessors ------------------------------------------------------- |
| 2507 | |
| 2508 | // optional string name = 1; |
| 2509 | bool has_name() const; |
| 2510 | void clear_name(); |
| 2511 | static const int kNameFieldNumber = 1; |
| 2512 | const ::std::string& name() const; |
| 2513 | void set_name(const ::std::string& value); |
| 2514 | #if LANG_CXX11 |
| 2515 | void set_name(::std::string&& value); |
| 2516 | #endif |
| 2517 | void set_name(const char* value); |
| 2518 | void set_name(const char* value, size_t size); |
| 2519 | ::std::string* mutable_name(); |
| 2520 | ::std::string* release_name(); |
| 2521 | void set_allocated_name(::std::string* name); |
| 2522 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2523 | " string fields are deprecated and will be removed in a" |
| 2524 | " future release." ) |
| 2525 | ::std::string* unsafe_arena_release_name(); |
| 2526 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2527 | " string fields are deprecated and will be removed in a" |
| 2528 | " future release." ) |
| 2529 | void unsafe_arena_set_allocated_name( |
| 2530 | ::std::string* name); |
| 2531 | |
| 2532 | // optional .google.protobuf.EnumValueOptions options = 3; |
| 2533 | bool has_options() const; |
| 2534 | void clear_options(); |
| 2535 | static const int kOptionsFieldNumber = 3; |
| 2536 | private: |
| 2537 | const ::google::protobuf::EnumValueOptions& _internal_options() const; |
| 2538 | public: |
| 2539 | const ::google::protobuf::EnumValueOptions& options() const; |
| 2540 | ::google::protobuf::EnumValueOptions* release_options(); |
| 2541 | ::google::protobuf::EnumValueOptions* mutable_options(); |
| 2542 | void set_allocated_options(::google::protobuf::EnumValueOptions* options); |
| 2543 | void unsafe_arena_set_allocated_options( |
| 2544 | ::google::protobuf::EnumValueOptions* options); |
| 2545 | ::google::protobuf::EnumValueOptions* unsafe_arena_release_options(); |
| 2546 | |
| 2547 | // optional int32 number = 2; |
| 2548 | bool has_number() const; |
| 2549 | void clear_number(); |
| 2550 | static const int kNumberFieldNumber = 2; |
| 2551 | ::google::protobuf::int32 number() const; |
| 2552 | void set_number(::google::protobuf::int32 value); |
| 2553 | |
| 2554 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
| 2555 | private: |
| 2556 | void set_has_name(); |
| 2557 | void clear_has_name(); |
| 2558 | void set_has_number(); |
| 2559 | void clear_has_number(); |
| 2560 | void set_has_options(); |
| 2561 | void clear_has_options(); |
| 2562 | |
| 2563 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2564 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2565 | typedef void InternalArenaConstructable_; |
| 2566 | typedef void DestructorSkippable_; |
| 2567 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2568 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2569 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 2570 | ::google::protobuf::EnumValueOptions* options_; |
| 2571 | ::google::protobuf::int32 number_; |
| 2572 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2573 | }; |
| 2574 | // ------------------------------------------------------------------- |
| 2575 | |
| 2576 | class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
| 2577 | public: |
| 2578 | ServiceDescriptorProto(); |
| 2579 | virtual ~ServiceDescriptorProto(); |
| 2580 | |
| 2581 | ServiceDescriptorProto(const ServiceDescriptorProto& from); |
| 2582 | |
| 2583 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
| 2584 | CopyFrom(from); |
| 2585 | return *this; |
| 2586 | } |
| 2587 | #if LANG_CXX11 |
| 2588 | ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
| 2589 | : ServiceDescriptorProto() { |
| 2590 | *this = ::std::move(from); |
| 2591 | } |
| 2592 | |
| 2593 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
| 2594 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2595 | if (this != &from) InternalSwap(&from); |
| 2596 | } else { |
| 2597 | CopyFrom(from); |
| 2598 | } |
| 2599 | return *this; |
| 2600 | } |
| 2601 | #endif |
| 2602 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2603 | return _internal_metadata_.unknown_fields(); |
| 2604 | } |
| 2605 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2606 | return _internal_metadata_.mutable_unknown_fields(); |
| 2607 | } |
| 2608 | |
| 2609 | inline ::google::protobuf::Arena* GetArena() const final { |
| 2610 | return GetArenaNoVirtual(); |
| 2611 | } |
| 2612 | inline void* GetMaybeArenaPointer() const final { |
| 2613 | return MaybeArenaPtr(); |
| 2614 | } |
| 2615 | static const ::google::protobuf::Descriptor* descriptor(); |
| 2616 | static const ServiceDescriptorProto& default_instance(); |
| 2617 | |
| 2618 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2619 | static inline const ServiceDescriptorProto* internal_default_instance() { |
| 2620 | return reinterpret_cast<const ServiceDescriptorProto*>( |
| 2621 | &_ServiceDescriptorProto_default_instance_); |
| 2622 | } |
| 2623 | static constexpr int kIndexInFileMessages = |
| 2624 | 11; |
| 2625 | |
| 2626 | void UnsafeArenaSwap(ServiceDescriptorProto* other); |
| 2627 | void Swap(ServiceDescriptorProto* other); |
| 2628 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { |
| 2629 | a.Swap(&b); |
| 2630 | } |
| 2631 | |
| 2632 | // implements Message ---------------------------------------------- |
| 2633 | |
| 2634 | inline ServiceDescriptorProto* New() const final { |
| 2635 | return CreateMaybeMessage<ServiceDescriptorProto>(NULL); |
| 2636 | } |
| 2637 | |
| 2638 | ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 2639 | return CreateMaybeMessage<ServiceDescriptorProto>(arena); |
| 2640 | } |
| 2641 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2642 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2643 | void CopyFrom(const ServiceDescriptorProto& from); |
| 2644 | void MergeFrom(const ServiceDescriptorProto& from); |
| 2645 | void Clear() final; |
| 2646 | bool IsInitialized() const final; |
| 2647 | |
| 2648 | size_t ByteSizeLong() const final; |
| 2649 | bool MergePartialFromCodedStream( |
| 2650 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2651 | void SerializeWithCachedSizes( |
| 2652 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2653 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2654 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 2655 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2656 | |
| 2657 | private: |
| 2658 | void SharedCtor(); |
| 2659 | void SharedDtor(); |
| 2660 | void SetCachedSize(int size) const final; |
| 2661 | void InternalSwap(ServiceDescriptorProto* other); |
| 2662 | protected: |
| 2663 | explicit ServiceDescriptorProto(::google::protobuf::Arena* arena); |
| 2664 | private: |
| 2665 | static void ArenaDtor(void* object); |
| 2666 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 2667 | private: |
| 2668 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2669 | return _internal_metadata_.arena(); |
| 2670 | } |
| 2671 | inline void* MaybeArenaPtr() const { |
| 2672 | return _internal_metadata_.raw_arena_ptr(); |
| 2673 | } |
| 2674 | public: |
| 2675 | |
| 2676 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2677 | |
| 2678 | // nested types ---------------------------------------------------- |
| 2679 | |
| 2680 | // accessors ------------------------------------------------------- |
| 2681 | |
| 2682 | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| 2683 | int method_size() const; |
| 2684 | void clear_method(); |
| 2685 | static const int kMethodFieldNumber = 2; |
| 2686 | ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
| 2687 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >* |
| 2688 | mutable_method(); |
| 2689 | const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
| 2690 | ::google::protobuf::MethodDescriptorProto* add_method(); |
| 2691 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >& |
| 2692 | method() const; |
| 2693 | |
| 2694 | // optional string name = 1; |
| 2695 | bool has_name() const; |
| 2696 | void clear_name(); |
| 2697 | static const int kNameFieldNumber = 1; |
| 2698 | const ::std::string& name() const; |
| 2699 | void set_name(const ::std::string& value); |
| 2700 | #if LANG_CXX11 |
| 2701 | void set_name(::std::string&& value); |
| 2702 | #endif |
| 2703 | void set_name(const char* value); |
| 2704 | void set_name(const char* value, size_t size); |
| 2705 | ::std::string* mutable_name(); |
| 2706 | ::std::string* release_name(); |
| 2707 | void set_allocated_name(::std::string* name); |
| 2708 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2709 | " string fields are deprecated and will be removed in a" |
| 2710 | " future release." ) |
| 2711 | ::std::string* unsafe_arena_release_name(); |
| 2712 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2713 | " string fields are deprecated and will be removed in a" |
| 2714 | " future release." ) |
| 2715 | void unsafe_arena_set_allocated_name( |
| 2716 | ::std::string* name); |
| 2717 | |
| 2718 | // optional .google.protobuf.ServiceOptions options = 3; |
| 2719 | bool has_options() const; |
| 2720 | void clear_options(); |
| 2721 | static const int kOptionsFieldNumber = 3; |
| 2722 | private: |
| 2723 | const ::google::protobuf::ServiceOptions& _internal_options() const; |
| 2724 | public: |
| 2725 | const ::google::protobuf::ServiceOptions& options() const; |
| 2726 | ::google::protobuf::ServiceOptions* release_options(); |
| 2727 | ::google::protobuf::ServiceOptions* mutable_options(); |
| 2728 | void set_allocated_options(::google::protobuf::ServiceOptions* options); |
| 2729 | void unsafe_arena_set_allocated_options( |
| 2730 | ::google::protobuf::ServiceOptions* options); |
| 2731 | ::google::protobuf::ServiceOptions* unsafe_arena_release_options(); |
| 2732 | |
| 2733 | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
| 2734 | private: |
| 2735 | void set_has_name(); |
| 2736 | void clear_has_name(); |
| 2737 | void set_has_options(); |
| 2738 | void clear_has_options(); |
| 2739 | |
| 2740 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2741 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2742 | typedef void InternalArenaConstructable_; |
| 2743 | typedef void DestructorSkippable_; |
| 2744 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2745 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2746 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_; |
| 2747 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 2748 | ::google::protobuf::ServiceOptions* options_; |
| 2749 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2750 | }; |
| 2751 | // ------------------------------------------------------------------- |
| 2752 | |
| 2753 | class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { |
| 2754 | public: |
| 2755 | MethodDescriptorProto(); |
| 2756 | virtual ~MethodDescriptorProto(); |
| 2757 | |
| 2758 | MethodDescriptorProto(const MethodDescriptorProto& from); |
| 2759 | |
| 2760 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
| 2761 | CopyFrom(from); |
| 2762 | return *this; |
| 2763 | } |
| 2764 | #if LANG_CXX11 |
| 2765 | MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
| 2766 | : MethodDescriptorProto() { |
| 2767 | *this = ::std::move(from); |
| 2768 | } |
| 2769 | |
| 2770 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
| 2771 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 2772 | if (this != &from) InternalSwap(&from); |
| 2773 | } else { |
| 2774 | CopyFrom(from); |
| 2775 | } |
| 2776 | return *this; |
| 2777 | } |
| 2778 | #endif |
| 2779 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 2780 | return _internal_metadata_.unknown_fields(); |
| 2781 | } |
| 2782 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 2783 | return _internal_metadata_.mutable_unknown_fields(); |
| 2784 | } |
| 2785 | |
| 2786 | inline ::google::protobuf::Arena* GetArena() const final { |
| 2787 | return GetArenaNoVirtual(); |
| 2788 | } |
| 2789 | inline void* GetMaybeArenaPointer() const final { |
| 2790 | return MaybeArenaPtr(); |
| 2791 | } |
| 2792 | static const ::google::protobuf::Descriptor* descriptor(); |
| 2793 | static const MethodDescriptorProto& default_instance(); |
| 2794 | |
| 2795 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 2796 | static inline const MethodDescriptorProto* internal_default_instance() { |
| 2797 | return reinterpret_cast<const MethodDescriptorProto*>( |
| 2798 | &_MethodDescriptorProto_default_instance_); |
| 2799 | } |
| 2800 | static constexpr int kIndexInFileMessages = |
| 2801 | 12; |
| 2802 | |
| 2803 | void UnsafeArenaSwap(MethodDescriptorProto* other); |
| 2804 | void Swap(MethodDescriptorProto* other); |
| 2805 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { |
| 2806 | a.Swap(&b); |
| 2807 | } |
| 2808 | |
| 2809 | // implements Message ---------------------------------------------- |
| 2810 | |
| 2811 | inline MethodDescriptorProto* New() const final { |
| 2812 | return CreateMaybeMessage<MethodDescriptorProto>(NULL); |
| 2813 | } |
| 2814 | |
| 2815 | MethodDescriptorProto* New(::google::protobuf::Arena* arena) const final { |
| 2816 | return CreateMaybeMessage<MethodDescriptorProto>(arena); |
| 2817 | } |
| 2818 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 2819 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 2820 | void CopyFrom(const MethodDescriptorProto& from); |
| 2821 | void MergeFrom(const MethodDescriptorProto& from); |
| 2822 | void Clear() final; |
| 2823 | bool IsInitialized() const final; |
| 2824 | |
| 2825 | size_t ByteSizeLong() const final; |
| 2826 | bool MergePartialFromCodedStream( |
| 2827 | ::google::protobuf::io::CodedInputStream* input) final; |
| 2828 | void SerializeWithCachedSizes( |
| 2829 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 2830 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 2831 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 2832 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 2833 | |
| 2834 | private: |
| 2835 | void SharedCtor(); |
| 2836 | void SharedDtor(); |
| 2837 | void SetCachedSize(int size) const final; |
| 2838 | void InternalSwap(MethodDescriptorProto* other); |
| 2839 | protected: |
| 2840 | explicit MethodDescriptorProto(::google::protobuf::Arena* arena); |
| 2841 | private: |
| 2842 | static void ArenaDtor(void* object); |
| 2843 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 2844 | private: |
| 2845 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 2846 | return _internal_metadata_.arena(); |
| 2847 | } |
| 2848 | inline void* MaybeArenaPtr() const { |
| 2849 | return _internal_metadata_.raw_arena_ptr(); |
| 2850 | } |
| 2851 | public: |
| 2852 | |
| 2853 | ::google::protobuf::Metadata GetMetadata() const final; |
| 2854 | |
| 2855 | // nested types ---------------------------------------------------- |
| 2856 | |
| 2857 | // accessors ------------------------------------------------------- |
| 2858 | |
| 2859 | // optional string name = 1; |
| 2860 | bool has_name() const; |
| 2861 | void clear_name(); |
| 2862 | static const int kNameFieldNumber = 1; |
| 2863 | const ::std::string& name() const; |
| 2864 | void set_name(const ::std::string& value); |
| 2865 | #if LANG_CXX11 |
| 2866 | void set_name(::std::string&& value); |
| 2867 | #endif |
| 2868 | void set_name(const char* value); |
| 2869 | void set_name(const char* value, size_t size); |
| 2870 | ::std::string* mutable_name(); |
| 2871 | ::std::string* release_name(); |
| 2872 | void set_allocated_name(::std::string* name); |
| 2873 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2874 | " string fields are deprecated and will be removed in a" |
| 2875 | " future release." ) |
| 2876 | ::std::string* unsafe_arena_release_name(); |
| 2877 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2878 | " string fields are deprecated and will be removed in a" |
| 2879 | " future release." ) |
| 2880 | void unsafe_arena_set_allocated_name( |
| 2881 | ::std::string* name); |
| 2882 | |
| 2883 | // optional string input_type = 2; |
| 2884 | bool has_input_type() const; |
| 2885 | void clear_input_type(); |
| 2886 | static const int kInputTypeFieldNumber = 2; |
| 2887 | const ::std::string& input_type() const; |
| 2888 | void set_input_type(const ::std::string& value); |
| 2889 | #if LANG_CXX11 |
| 2890 | void set_input_type(::std::string&& value); |
| 2891 | #endif |
| 2892 | void set_input_type(const char* value); |
| 2893 | void set_input_type(const char* value, size_t size); |
| 2894 | ::std::string* mutable_input_type(); |
| 2895 | ::std::string* release_input_type(); |
| 2896 | void set_allocated_input_type(::std::string* input_type); |
| 2897 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2898 | " string fields are deprecated and will be removed in a" |
| 2899 | " future release." ) |
| 2900 | ::std::string* unsafe_arena_release_input_type(); |
| 2901 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2902 | " string fields are deprecated and will be removed in a" |
| 2903 | " future release." ) |
| 2904 | void unsafe_arena_set_allocated_input_type( |
| 2905 | ::std::string* input_type); |
| 2906 | |
| 2907 | // optional string output_type = 3; |
| 2908 | bool has_output_type() const; |
| 2909 | void clear_output_type(); |
| 2910 | static const int kOutputTypeFieldNumber = 3; |
| 2911 | const ::std::string& output_type() const; |
| 2912 | void set_output_type(const ::std::string& value); |
| 2913 | #if LANG_CXX11 |
| 2914 | void set_output_type(::std::string&& value); |
| 2915 | #endif |
| 2916 | void set_output_type(const char* value); |
| 2917 | void set_output_type(const char* value, size_t size); |
| 2918 | ::std::string* mutable_output_type(); |
| 2919 | ::std::string* release_output_type(); |
| 2920 | void set_allocated_output_type(::std::string* output_type); |
| 2921 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2922 | " string fields are deprecated and will be removed in a" |
| 2923 | " future release." ) |
| 2924 | ::std::string* unsafe_arena_release_output_type(); |
| 2925 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 2926 | " string fields are deprecated and will be removed in a" |
| 2927 | " future release." ) |
| 2928 | void unsafe_arena_set_allocated_output_type( |
| 2929 | ::std::string* output_type); |
| 2930 | |
| 2931 | // optional .google.protobuf.MethodOptions options = 4; |
| 2932 | bool has_options() const; |
| 2933 | void clear_options(); |
| 2934 | static const int kOptionsFieldNumber = 4; |
| 2935 | private: |
| 2936 | const ::google::protobuf::MethodOptions& _internal_options() const; |
| 2937 | public: |
| 2938 | const ::google::protobuf::MethodOptions& options() const; |
| 2939 | ::google::protobuf::MethodOptions* release_options(); |
| 2940 | ::google::protobuf::MethodOptions* mutable_options(); |
| 2941 | void set_allocated_options(::google::protobuf::MethodOptions* options); |
| 2942 | void unsafe_arena_set_allocated_options( |
| 2943 | ::google::protobuf::MethodOptions* options); |
| 2944 | ::google::protobuf::MethodOptions* unsafe_arena_release_options(); |
| 2945 | |
| 2946 | // optional bool client_streaming = 5 [default = false]; |
| 2947 | bool has_client_streaming() const; |
| 2948 | void clear_client_streaming(); |
| 2949 | static const int kClientStreamingFieldNumber = 5; |
| 2950 | bool client_streaming() const; |
| 2951 | void set_client_streaming(bool value); |
| 2952 | |
| 2953 | // optional bool server_streaming = 6 [default = false]; |
| 2954 | bool has_server_streaming() const; |
| 2955 | void clear_server_streaming(); |
| 2956 | static const int kServerStreamingFieldNumber = 6; |
| 2957 | bool server_streaming() const; |
| 2958 | void set_server_streaming(bool value); |
| 2959 | |
| 2960 | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
| 2961 | private: |
| 2962 | void set_has_name(); |
| 2963 | void clear_has_name(); |
| 2964 | void set_has_input_type(); |
| 2965 | void clear_has_input_type(); |
| 2966 | void set_has_output_type(); |
| 2967 | void clear_has_output_type(); |
| 2968 | void set_has_options(); |
| 2969 | void clear_has_options(); |
| 2970 | void set_has_client_streaming(); |
| 2971 | void clear_has_client_streaming(); |
| 2972 | void set_has_server_streaming(); |
| 2973 | void clear_has_server_streaming(); |
| 2974 | |
| 2975 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 2976 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 2977 | typedef void InternalArenaConstructable_; |
| 2978 | typedef void DestructorSkippable_; |
| 2979 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 2980 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 2981 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 2982 | ::google::protobuf::internal::ArenaStringPtr input_type_; |
| 2983 | ::google::protobuf::internal::ArenaStringPtr output_type_; |
| 2984 | ::google::protobuf::MethodOptions* options_; |
| 2985 | bool client_streaming_; |
| 2986 | bool server_streaming_; |
| 2987 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 2988 | }; |
| 2989 | // ------------------------------------------------------------------- |
| 2990 | |
| 2991 | class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
| 2992 | public: |
| 2993 | FileOptions(); |
| 2994 | virtual ~FileOptions(); |
| 2995 | |
| 2996 | FileOptions(const FileOptions& from); |
| 2997 | |
| 2998 | inline FileOptions& operator=(const FileOptions& from) { |
| 2999 | CopyFrom(from); |
| 3000 | return *this; |
| 3001 | } |
| 3002 | #if LANG_CXX11 |
| 3003 | FileOptions(FileOptions&& from) noexcept |
| 3004 | : FileOptions() { |
| 3005 | *this = ::std::move(from); |
| 3006 | } |
| 3007 | |
| 3008 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
| 3009 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3010 | if (this != &from) InternalSwap(&from); |
| 3011 | } else { |
| 3012 | CopyFrom(from); |
| 3013 | } |
| 3014 | return *this; |
| 3015 | } |
| 3016 | #endif |
| 3017 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3018 | return _internal_metadata_.unknown_fields(); |
| 3019 | } |
| 3020 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3021 | return _internal_metadata_.mutable_unknown_fields(); |
| 3022 | } |
| 3023 | |
| 3024 | inline ::google::protobuf::Arena* GetArena() const final { |
| 3025 | return GetArenaNoVirtual(); |
| 3026 | } |
| 3027 | inline void* GetMaybeArenaPointer() const final { |
| 3028 | return MaybeArenaPtr(); |
| 3029 | } |
| 3030 | static const ::google::protobuf::Descriptor* descriptor(); |
| 3031 | static const FileOptions& default_instance(); |
| 3032 | |
| 3033 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3034 | static inline const FileOptions* internal_default_instance() { |
| 3035 | return reinterpret_cast<const FileOptions*>( |
| 3036 | &_FileOptions_default_instance_); |
| 3037 | } |
| 3038 | static constexpr int kIndexInFileMessages = |
| 3039 | 13; |
| 3040 | |
| 3041 | void UnsafeArenaSwap(FileOptions* other); |
| 3042 | void Swap(FileOptions* other); |
| 3043 | friend void swap(FileOptions& a, FileOptions& b) { |
| 3044 | a.Swap(&b); |
| 3045 | } |
| 3046 | |
| 3047 | // implements Message ---------------------------------------------- |
| 3048 | |
| 3049 | inline FileOptions* New() const final { |
| 3050 | return CreateMaybeMessage<FileOptions>(NULL); |
| 3051 | } |
| 3052 | |
| 3053 | FileOptions* New(::google::protobuf::Arena* arena) const final { |
| 3054 | return CreateMaybeMessage<FileOptions>(arena); |
| 3055 | } |
| 3056 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3057 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3058 | void CopyFrom(const FileOptions& from); |
| 3059 | void MergeFrom(const FileOptions& from); |
| 3060 | void Clear() final; |
| 3061 | bool IsInitialized() const final; |
| 3062 | |
| 3063 | size_t ByteSizeLong() const final; |
| 3064 | bool MergePartialFromCodedStream( |
| 3065 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3066 | void SerializeWithCachedSizes( |
| 3067 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3068 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3069 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 3070 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3071 | |
| 3072 | private: |
| 3073 | void SharedCtor(); |
| 3074 | void SharedDtor(); |
| 3075 | void SetCachedSize(int size) const final; |
| 3076 | void InternalSwap(FileOptions* other); |
| 3077 | protected: |
| 3078 | explicit FileOptions(::google::protobuf::Arena* arena); |
| 3079 | private: |
| 3080 | static void ArenaDtor(void* object); |
| 3081 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 3082 | private: |
| 3083 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3084 | return _internal_metadata_.arena(); |
| 3085 | } |
| 3086 | inline void* MaybeArenaPtr() const { |
| 3087 | return _internal_metadata_.raw_arena_ptr(); |
| 3088 | } |
| 3089 | public: |
| 3090 | |
| 3091 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3092 | |
| 3093 | // nested types ---------------------------------------------------- |
| 3094 | |
| 3095 | typedef FileOptions_OptimizeMode OptimizeMode; |
| 3096 | static const OptimizeMode SPEED = |
| 3097 | FileOptions_OptimizeMode_SPEED; |
| 3098 | static const OptimizeMode CODE_SIZE = |
| 3099 | FileOptions_OptimizeMode_CODE_SIZE; |
| 3100 | static const OptimizeMode LITE_RUNTIME = |
| 3101 | FileOptions_OptimizeMode_LITE_RUNTIME; |
| 3102 | static inline bool OptimizeMode_IsValid(int value) { |
| 3103 | return FileOptions_OptimizeMode_IsValid(value); |
| 3104 | } |
| 3105 | static const OptimizeMode OptimizeMode_MIN = |
| 3106 | FileOptions_OptimizeMode_OptimizeMode_MIN; |
| 3107 | static const OptimizeMode OptimizeMode_MAX = |
| 3108 | FileOptions_OptimizeMode_OptimizeMode_MAX; |
| 3109 | static const int OptimizeMode_ARRAYSIZE = |
| 3110 | FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
| 3111 | static inline const ::google::protobuf::EnumDescriptor* |
| 3112 | OptimizeMode_descriptor() { |
| 3113 | return FileOptions_OptimizeMode_descriptor(); |
| 3114 | } |
| 3115 | static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) { |
| 3116 | return FileOptions_OptimizeMode_Name(value); |
| 3117 | } |
| 3118 | static inline bool OptimizeMode_Parse(const ::std::string& name, |
| 3119 | OptimizeMode* value) { |
| 3120 | return FileOptions_OptimizeMode_Parse(name, value); |
| 3121 | } |
| 3122 | |
| 3123 | // accessors ------------------------------------------------------- |
| 3124 | |
| 3125 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 3126 | int uninterpreted_option_size() const; |
| 3127 | void clear_uninterpreted_option(); |
| 3128 | static const int kUninterpretedOptionFieldNumber = 999; |
| 3129 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 3130 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 3131 | mutable_uninterpreted_option(); |
| 3132 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 3133 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 3134 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 3135 | uninterpreted_option() const; |
| 3136 | |
| 3137 | // optional string java_package = 1; |
| 3138 | bool has_java_package() const; |
| 3139 | void clear_java_package(); |
| 3140 | static const int kJavaPackageFieldNumber = 1; |
| 3141 | const ::std::string& java_package() const; |
| 3142 | void set_java_package(const ::std::string& value); |
| 3143 | #if LANG_CXX11 |
| 3144 | void set_java_package(::std::string&& value); |
| 3145 | #endif |
| 3146 | void set_java_package(const char* value); |
| 3147 | void set_java_package(const char* value, size_t size); |
| 3148 | ::std::string* mutable_java_package(); |
| 3149 | ::std::string* release_java_package(); |
| 3150 | void set_allocated_java_package(::std::string* java_package); |
| 3151 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3152 | " string fields are deprecated and will be removed in a" |
| 3153 | " future release." ) |
| 3154 | ::std::string* unsafe_arena_release_java_package(); |
| 3155 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3156 | " string fields are deprecated and will be removed in a" |
| 3157 | " future release." ) |
| 3158 | void unsafe_arena_set_allocated_java_package( |
| 3159 | ::std::string* java_package); |
| 3160 | |
| 3161 | // optional string java_outer_classname = 8; |
| 3162 | bool has_java_outer_classname() const; |
| 3163 | void clear_java_outer_classname(); |
| 3164 | static const int kJavaOuterClassnameFieldNumber = 8; |
| 3165 | const ::std::string& java_outer_classname() const; |
| 3166 | void set_java_outer_classname(const ::std::string& value); |
| 3167 | #if LANG_CXX11 |
| 3168 | void set_java_outer_classname(::std::string&& value); |
| 3169 | #endif |
| 3170 | void set_java_outer_classname(const char* value); |
| 3171 | void set_java_outer_classname(const char* value, size_t size); |
| 3172 | ::std::string* mutable_java_outer_classname(); |
| 3173 | ::std::string* release_java_outer_classname(); |
| 3174 | void set_allocated_java_outer_classname(::std::string* java_outer_classname); |
| 3175 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3176 | " string fields are deprecated and will be removed in a" |
| 3177 | " future release." ) |
| 3178 | ::std::string* unsafe_arena_release_java_outer_classname(); |
| 3179 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3180 | " string fields are deprecated and will be removed in a" |
| 3181 | " future release." ) |
| 3182 | void unsafe_arena_set_allocated_java_outer_classname( |
| 3183 | ::std::string* java_outer_classname); |
| 3184 | |
| 3185 | // optional string go_package = 11; |
| 3186 | bool has_go_package() const; |
| 3187 | void clear_go_package(); |
| 3188 | static const int kGoPackageFieldNumber = 11; |
| 3189 | const ::std::string& go_package() const; |
| 3190 | void set_go_package(const ::std::string& value); |
| 3191 | #if LANG_CXX11 |
| 3192 | void set_go_package(::std::string&& value); |
| 3193 | #endif |
| 3194 | void set_go_package(const char* value); |
| 3195 | void set_go_package(const char* value, size_t size); |
| 3196 | ::std::string* mutable_go_package(); |
| 3197 | ::std::string* release_go_package(); |
| 3198 | void set_allocated_go_package(::std::string* go_package); |
| 3199 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3200 | " string fields are deprecated and will be removed in a" |
| 3201 | " future release." ) |
| 3202 | ::std::string* unsafe_arena_release_go_package(); |
| 3203 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3204 | " string fields are deprecated and will be removed in a" |
| 3205 | " future release." ) |
| 3206 | void unsafe_arena_set_allocated_go_package( |
| 3207 | ::std::string* go_package); |
| 3208 | |
| 3209 | // optional string objc_class_prefix = 36; |
| 3210 | bool has_objc_class_prefix() const; |
| 3211 | void clear_objc_class_prefix(); |
| 3212 | static const int kObjcClassPrefixFieldNumber = 36; |
| 3213 | const ::std::string& objc_class_prefix() const; |
| 3214 | void set_objc_class_prefix(const ::std::string& value); |
| 3215 | #if LANG_CXX11 |
| 3216 | void set_objc_class_prefix(::std::string&& value); |
| 3217 | #endif |
| 3218 | void set_objc_class_prefix(const char* value); |
| 3219 | void set_objc_class_prefix(const char* value, size_t size); |
| 3220 | ::std::string* mutable_objc_class_prefix(); |
| 3221 | ::std::string* release_objc_class_prefix(); |
| 3222 | void set_allocated_objc_class_prefix(::std::string* objc_class_prefix); |
| 3223 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3224 | " string fields are deprecated and will be removed in a" |
| 3225 | " future release." ) |
| 3226 | ::std::string* unsafe_arena_release_objc_class_prefix(); |
| 3227 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3228 | " string fields are deprecated and will be removed in a" |
| 3229 | " future release." ) |
| 3230 | void unsafe_arena_set_allocated_objc_class_prefix( |
| 3231 | ::std::string* objc_class_prefix); |
| 3232 | |
| 3233 | // optional string csharp_namespace = 37; |
| 3234 | bool has_csharp_namespace() const; |
| 3235 | void clear_csharp_namespace(); |
| 3236 | static const int kCsharpNamespaceFieldNumber = 37; |
| 3237 | const ::std::string& csharp_namespace() const; |
| 3238 | void set_csharp_namespace(const ::std::string& value); |
| 3239 | #if LANG_CXX11 |
| 3240 | void set_csharp_namespace(::std::string&& value); |
| 3241 | #endif |
| 3242 | void set_csharp_namespace(const char* value); |
| 3243 | void set_csharp_namespace(const char* value, size_t size); |
| 3244 | ::std::string* mutable_csharp_namespace(); |
| 3245 | ::std::string* release_csharp_namespace(); |
| 3246 | void set_allocated_csharp_namespace(::std::string* csharp_namespace); |
| 3247 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3248 | " string fields are deprecated and will be removed in a" |
| 3249 | " future release." ) |
| 3250 | ::std::string* unsafe_arena_release_csharp_namespace(); |
| 3251 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3252 | " string fields are deprecated and will be removed in a" |
| 3253 | " future release." ) |
| 3254 | void unsafe_arena_set_allocated_csharp_namespace( |
| 3255 | ::std::string* csharp_namespace); |
| 3256 | |
| 3257 | // optional string swift_prefix = 39; |
| 3258 | bool has_swift_prefix() const; |
| 3259 | void clear_swift_prefix(); |
| 3260 | static const int kSwiftPrefixFieldNumber = 39; |
| 3261 | const ::std::string& swift_prefix() const; |
| 3262 | void set_swift_prefix(const ::std::string& value); |
| 3263 | #if LANG_CXX11 |
| 3264 | void set_swift_prefix(::std::string&& value); |
| 3265 | #endif |
| 3266 | void set_swift_prefix(const char* value); |
| 3267 | void set_swift_prefix(const char* value, size_t size); |
| 3268 | ::std::string* mutable_swift_prefix(); |
| 3269 | ::std::string* release_swift_prefix(); |
| 3270 | void set_allocated_swift_prefix(::std::string* swift_prefix); |
| 3271 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3272 | " string fields are deprecated and will be removed in a" |
| 3273 | " future release." ) |
| 3274 | ::std::string* unsafe_arena_release_swift_prefix(); |
| 3275 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3276 | " string fields are deprecated and will be removed in a" |
| 3277 | " future release." ) |
| 3278 | void unsafe_arena_set_allocated_swift_prefix( |
| 3279 | ::std::string* swift_prefix); |
| 3280 | |
| 3281 | // optional string php_class_prefix = 40; |
| 3282 | bool has_php_class_prefix() const; |
| 3283 | void clear_php_class_prefix(); |
| 3284 | static const int kPhpClassPrefixFieldNumber = 40; |
| 3285 | const ::std::string& php_class_prefix() const; |
| 3286 | void set_php_class_prefix(const ::std::string& value); |
| 3287 | #if LANG_CXX11 |
| 3288 | void set_php_class_prefix(::std::string&& value); |
| 3289 | #endif |
| 3290 | void set_php_class_prefix(const char* value); |
| 3291 | void set_php_class_prefix(const char* value, size_t size); |
| 3292 | ::std::string* mutable_php_class_prefix(); |
| 3293 | ::std::string* release_php_class_prefix(); |
| 3294 | void set_allocated_php_class_prefix(::std::string* php_class_prefix); |
| 3295 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3296 | " string fields are deprecated and will be removed in a" |
| 3297 | " future release." ) |
| 3298 | ::std::string* unsafe_arena_release_php_class_prefix(); |
| 3299 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3300 | " string fields are deprecated and will be removed in a" |
| 3301 | " future release." ) |
| 3302 | void unsafe_arena_set_allocated_php_class_prefix( |
| 3303 | ::std::string* php_class_prefix); |
| 3304 | |
| 3305 | // optional string php_namespace = 41; |
| 3306 | bool has_php_namespace() const; |
| 3307 | void clear_php_namespace(); |
| 3308 | static const int kPhpNamespaceFieldNumber = 41; |
| 3309 | const ::std::string& php_namespace() const; |
| 3310 | void set_php_namespace(const ::std::string& value); |
| 3311 | #if LANG_CXX11 |
| 3312 | void set_php_namespace(::std::string&& value); |
| 3313 | #endif |
| 3314 | void set_php_namespace(const char* value); |
| 3315 | void set_php_namespace(const char* value, size_t size); |
| 3316 | ::std::string* mutable_php_namespace(); |
| 3317 | ::std::string* release_php_namespace(); |
| 3318 | void set_allocated_php_namespace(::std::string* php_namespace); |
| 3319 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3320 | " string fields are deprecated and will be removed in a" |
| 3321 | " future release." ) |
| 3322 | ::std::string* unsafe_arena_release_php_namespace(); |
| 3323 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3324 | " string fields are deprecated and will be removed in a" |
| 3325 | " future release." ) |
| 3326 | void unsafe_arena_set_allocated_php_namespace( |
| 3327 | ::std::string* php_namespace); |
| 3328 | |
| 3329 | // optional string php_metadata_namespace = 44; |
| 3330 | bool has_php_metadata_namespace() const; |
| 3331 | void clear_php_metadata_namespace(); |
| 3332 | static const int kPhpMetadataNamespaceFieldNumber = 44; |
| 3333 | const ::std::string& php_metadata_namespace() const; |
| 3334 | void set_php_metadata_namespace(const ::std::string& value); |
| 3335 | #if LANG_CXX11 |
| 3336 | void set_php_metadata_namespace(::std::string&& value); |
| 3337 | #endif |
| 3338 | void set_php_metadata_namespace(const char* value); |
| 3339 | void set_php_metadata_namespace(const char* value, size_t size); |
| 3340 | ::std::string* mutable_php_metadata_namespace(); |
| 3341 | ::std::string* release_php_metadata_namespace(); |
| 3342 | void set_allocated_php_metadata_namespace(::std::string* php_metadata_namespace); |
| 3343 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3344 | " string fields are deprecated and will be removed in a" |
| 3345 | " future release." ) |
| 3346 | ::std::string* unsafe_arena_release_php_metadata_namespace(); |
| 3347 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3348 | " string fields are deprecated and will be removed in a" |
| 3349 | " future release." ) |
| 3350 | void unsafe_arena_set_allocated_php_metadata_namespace( |
| 3351 | ::std::string* php_metadata_namespace); |
| 3352 | |
| 3353 | // optional string ruby_package = 45; |
| 3354 | bool has_ruby_package() const; |
| 3355 | void clear_ruby_package(); |
| 3356 | static const int kRubyPackageFieldNumber = 45; |
| 3357 | const ::std::string& ruby_package() const; |
| 3358 | void set_ruby_package(const ::std::string& value); |
| 3359 | #if LANG_CXX11 |
| 3360 | void set_ruby_package(::std::string&& value); |
| 3361 | #endif |
| 3362 | void set_ruby_package(const char* value); |
| 3363 | void set_ruby_package(const char* value, size_t size); |
| 3364 | ::std::string* mutable_ruby_package(); |
| 3365 | ::std::string* release_ruby_package(); |
| 3366 | void set_allocated_ruby_package(::std::string* ruby_package); |
| 3367 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3368 | " string fields are deprecated and will be removed in a" |
| 3369 | " future release." ) |
| 3370 | ::std::string* unsafe_arena_release_ruby_package(); |
| 3371 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 3372 | " string fields are deprecated and will be removed in a" |
| 3373 | " future release." ) |
| 3374 | void unsafe_arena_set_allocated_ruby_package( |
| 3375 | ::std::string* ruby_package); |
| 3376 | |
| 3377 | // optional bool java_multiple_files = 10 [default = false]; |
| 3378 | bool has_java_multiple_files() const; |
| 3379 | void clear_java_multiple_files(); |
| 3380 | static const int kJavaMultipleFilesFieldNumber = 10; |
| 3381 | bool java_multiple_files() const; |
| 3382 | void set_java_multiple_files(bool value); |
| 3383 | |
| 3384 | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 3385 | GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_java_generate_equals_and_hash() const; |
| 3386 | GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_java_generate_equals_and_hash(); |
| 3387 | GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kJavaGenerateEqualsAndHashFieldNumber = 20; |
| 3388 | GOOGLE_PROTOBUF_DEPRECATED_ATTR bool java_generate_equals_and_hash() const; |
| 3389 | GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_java_generate_equals_and_hash(bool value); |
| 3390 | |
| 3391 | // optional bool java_string_check_utf8 = 27 [default = false]; |
| 3392 | bool has_java_string_check_utf8() const; |
| 3393 | void clear_java_string_check_utf8(); |
| 3394 | static const int kJavaStringCheckUtf8FieldNumber = 27; |
| 3395 | bool java_string_check_utf8() const; |
| 3396 | void set_java_string_check_utf8(bool value); |
| 3397 | |
| 3398 | // optional bool cc_generic_services = 16 [default = false]; |
| 3399 | bool has_cc_generic_services() const; |
| 3400 | void clear_cc_generic_services(); |
| 3401 | static const int kCcGenericServicesFieldNumber = 16; |
| 3402 | bool cc_generic_services() const; |
| 3403 | void set_cc_generic_services(bool value); |
| 3404 | |
| 3405 | // optional bool java_generic_services = 17 [default = false]; |
| 3406 | bool has_java_generic_services() const; |
| 3407 | void clear_java_generic_services(); |
| 3408 | static const int kJavaGenericServicesFieldNumber = 17; |
| 3409 | bool java_generic_services() const; |
| 3410 | void set_java_generic_services(bool value); |
| 3411 | |
| 3412 | // optional bool py_generic_services = 18 [default = false]; |
| 3413 | bool has_py_generic_services() const; |
| 3414 | void clear_py_generic_services(); |
| 3415 | static const int kPyGenericServicesFieldNumber = 18; |
| 3416 | bool py_generic_services() const; |
| 3417 | void set_py_generic_services(bool value); |
| 3418 | |
| 3419 | // optional bool php_generic_services = 42 [default = false]; |
| 3420 | bool has_php_generic_services() const; |
| 3421 | void clear_php_generic_services(); |
| 3422 | static const int kPhpGenericServicesFieldNumber = 42; |
| 3423 | bool php_generic_services() const; |
| 3424 | void set_php_generic_services(bool value); |
| 3425 | |
| 3426 | // optional bool deprecated = 23 [default = false]; |
| 3427 | bool has_deprecated() const; |
| 3428 | void clear_deprecated(); |
| 3429 | static const int kDeprecatedFieldNumber = 23; |
| 3430 | bool deprecated() const; |
| 3431 | void set_deprecated(bool value); |
| 3432 | |
| 3433 | // optional bool cc_enable_arenas = 31 [default = false]; |
| 3434 | bool has_cc_enable_arenas() const; |
| 3435 | void clear_cc_enable_arenas(); |
| 3436 | static const int kCcEnableArenasFieldNumber = 31; |
| 3437 | bool cc_enable_arenas() const; |
| 3438 | void set_cc_enable_arenas(bool value); |
| 3439 | |
| 3440 | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
| 3441 | bool has_optimize_for() const; |
| 3442 | void clear_optimize_for(); |
| 3443 | static const int kOptimizeForFieldNumber = 9; |
| 3444 | ::google::protobuf::FileOptions_OptimizeMode optimize_for() const; |
| 3445 | void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value); |
| 3446 | |
| 3447 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions) |
| 3448 | // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
| 3449 | private: |
| 3450 | void set_has_java_package(); |
| 3451 | void clear_has_java_package(); |
| 3452 | void set_has_java_outer_classname(); |
| 3453 | void clear_has_java_outer_classname(); |
| 3454 | void set_has_java_multiple_files(); |
| 3455 | void clear_has_java_multiple_files(); |
| 3456 | void set_has_java_generate_equals_and_hash(); |
| 3457 | void clear_has_java_generate_equals_and_hash(); |
| 3458 | void set_has_java_string_check_utf8(); |
| 3459 | void clear_has_java_string_check_utf8(); |
| 3460 | void set_has_optimize_for(); |
| 3461 | void clear_has_optimize_for(); |
| 3462 | void set_has_go_package(); |
| 3463 | void clear_has_go_package(); |
| 3464 | void set_has_cc_generic_services(); |
| 3465 | void clear_has_cc_generic_services(); |
| 3466 | void set_has_java_generic_services(); |
| 3467 | void clear_has_java_generic_services(); |
| 3468 | void set_has_py_generic_services(); |
| 3469 | void clear_has_py_generic_services(); |
| 3470 | void set_has_php_generic_services(); |
| 3471 | void clear_has_php_generic_services(); |
| 3472 | void set_has_deprecated(); |
| 3473 | void clear_has_deprecated(); |
| 3474 | void set_has_cc_enable_arenas(); |
| 3475 | void clear_has_cc_enable_arenas(); |
| 3476 | void set_has_objc_class_prefix(); |
| 3477 | void clear_has_objc_class_prefix(); |
| 3478 | void set_has_csharp_namespace(); |
| 3479 | void clear_has_csharp_namespace(); |
| 3480 | void set_has_swift_prefix(); |
| 3481 | void clear_has_swift_prefix(); |
| 3482 | void set_has_php_class_prefix(); |
| 3483 | void clear_has_php_class_prefix(); |
| 3484 | void set_has_php_namespace(); |
| 3485 | void clear_has_php_namespace(); |
| 3486 | void set_has_php_metadata_namespace(); |
| 3487 | void clear_has_php_metadata_namespace(); |
| 3488 | void set_has_ruby_package(); |
| 3489 | void clear_has_ruby_package(); |
| 3490 | |
| 3491 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 3492 | |
| 3493 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3494 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 3495 | typedef void InternalArenaConstructable_; |
| 3496 | typedef void DestructorSkippable_; |
| 3497 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3498 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3499 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 3500 | ::google::protobuf::internal::ArenaStringPtr java_package_; |
| 3501 | ::google::protobuf::internal::ArenaStringPtr java_outer_classname_; |
| 3502 | ::google::protobuf::internal::ArenaStringPtr go_package_; |
| 3503 | ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_; |
| 3504 | ::google::protobuf::internal::ArenaStringPtr csharp_namespace_; |
| 3505 | ::google::protobuf::internal::ArenaStringPtr swift_prefix_; |
| 3506 | ::google::protobuf::internal::ArenaStringPtr php_class_prefix_; |
| 3507 | ::google::protobuf::internal::ArenaStringPtr php_namespace_; |
| 3508 | ::google::protobuf::internal::ArenaStringPtr php_metadata_namespace_; |
| 3509 | ::google::protobuf::internal::ArenaStringPtr ruby_package_; |
| 3510 | bool java_multiple_files_; |
| 3511 | bool java_generate_equals_and_hash_; |
| 3512 | bool java_string_check_utf8_; |
| 3513 | bool cc_generic_services_; |
| 3514 | bool java_generic_services_; |
| 3515 | bool py_generic_services_; |
| 3516 | bool php_generic_services_; |
| 3517 | bool deprecated_; |
| 3518 | bool cc_enable_arenas_; |
| 3519 | int optimize_for_; |
| 3520 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 3521 | }; |
| 3522 | // ------------------------------------------------------------------- |
| 3523 | |
| 3524 | class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
| 3525 | public: |
| 3526 | MessageOptions(); |
| 3527 | virtual ~MessageOptions(); |
| 3528 | |
| 3529 | MessageOptions(const MessageOptions& from); |
| 3530 | |
| 3531 | inline MessageOptions& operator=(const MessageOptions& from) { |
| 3532 | CopyFrom(from); |
| 3533 | return *this; |
| 3534 | } |
| 3535 | #if LANG_CXX11 |
| 3536 | MessageOptions(MessageOptions&& from) noexcept |
| 3537 | : MessageOptions() { |
| 3538 | *this = ::std::move(from); |
| 3539 | } |
| 3540 | |
| 3541 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
| 3542 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3543 | if (this != &from) InternalSwap(&from); |
| 3544 | } else { |
| 3545 | CopyFrom(from); |
| 3546 | } |
| 3547 | return *this; |
| 3548 | } |
| 3549 | #endif |
| 3550 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3551 | return _internal_metadata_.unknown_fields(); |
| 3552 | } |
| 3553 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3554 | return _internal_metadata_.mutable_unknown_fields(); |
| 3555 | } |
| 3556 | |
| 3557 | inline ::google::protobuf::Arena* GetArena() const final { |
| 3558 | return GetArenaNoVirtual(); |
| 3559 | } |
| 3560 | inline void* GetMaybeArenaPointer() const final { |
| 3561 | return MaybeArenaPtr(); |
| 3562 | } |
| 3563 | static const ::google::protobuf::Descriptor* descriptor(); |
| 3564 | static const MessageOptions& default_instance(); |
| 3565 | |
| 3566 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3567 | static inline const MessageOptions* internal_default_instance() { |
| 3568 | return reinterpret_cast<const MessageOptions*>( |
| 3569 | &_MessageOptions_default_instance_); |
| 3570 | } |
| 3571 | static constexpr int kIndexInFileMessages = |
| 3572 | 14; |
| 3573 | |
| 3574 | void UnsafeArenaSwap(MessageOptions* other); |
| 3575 | void Swap(MessageOptions* other); |
| 3576 | friend void swap(MessageOptions& a, MessageOptions& b) { |
| 3577 | a.Swap(&b); |
| 3578 | } |
| 3579 | |
| 3580 | // implements Message ---------------------------------------------- |
| 3581 | |
| 3582 | inline MessageOptions* New() const final { |
| 3583 | return CreateMaybeMessage<MessageOptions>(NULL); |
| 3584 | } |
| 3585 | |
| 3586 | MessageOptions* New(::google::protobuf::Arena* arena) const final { |
| 3587 | return CreateMaybeMessage<MessageOptions>(arena); |
| 3588 | } |
| 3589 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3590 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3591 | void CopyFrom(const MessageOptions& from); |
| 3592 | void MergeFrom(const MessageOptions& from); |
| 3593 | void Clear() final; |
| 3594 | bool IsInitialized() const final; |
| 3595 | |
| 3596 | size_t ByteSizeLong() const final; |
| 3597 | bool MergePartialFromCodedStream( |
| 3598 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3599 | void SerializeWithCachedSizes( |
| 3600 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3601 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3602 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 3603 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3604 | |
| 3605 | private: |
| 3606 | void SharedCtor(); |
| 3607 | void SharedDtor(); |
| 3608 | void SetCachedSize(int size) const final; |
| 3609 | void InternalSwap(MessageOptions* other); |
| 3610 | protected: |
| 3611 | explicit MessageOptions(::google::protobuf::Arena* arena); |
| 3612 | private: |
| 3613 | static void ArenaDtor(void* object); |
| 3614 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 3615 | private: |
| 3616 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3617 | return _internal_metadata_.arena(); |
| 3618 | } |
| 3619 | inline void* MaybeArenaPtr() const { |
| 3620 | return _internal_metadata_.raw_arena_ptr(); |
| 3621 | } |
| 3622 | public: |
| 3623 | |
| 3624 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3625 | |
| 3626 | // nested types ---------------------------------------------------- |
| 3627 | |
| 3628 | // accessors ------------------------------------------------------- |
| 3629 | |
| 3630 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 3631 | int uninterpreted_option_size() const; |
| 3632 | void clear_uninterpreted_option(); |
| 3633 | static const int kUninterpretedOptionFieldNumber = 999; |
| 3634 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 3635 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 3636 | mutable_uninterpreted_option(); |
| 3637 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 3638 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 3639 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 3640 | uninterpreted_option() const; |
| 3641 | |
| 3642 | // optional bool message_set_wire_format = 1 [default = false]; |
| 3643 | bool has_message_set_wire_format() const; |
| 3644 | void clear_message_set_wire_format(); |
| 3645 | static const int kMessageSetWireFormatFieldNumber = 1; |
| 3646 | bool message_set_wire_format() const; |
| 3647 | void set_message_set_wire_format(bool value); |
| 3648 | |
| 3649 | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
| 3650 | bool has_no_standard_descriptor_accessor() const; |
| 3651 | void clear_no_standard_descriptor_accessor(); |
| 3652 | static const int kNoStandardDescriptorAccessorFieldNumber = 2; |
| 3653 | bool no_standard_descriptor_accessor() const; |
| 3654 | void set_no_standard_descriptor_accessor(bool value); |
| 3655 | |
| 3656 | // optional bool deprecated = 3 [default = false]; |
| 3657 | bool has_deprecated() const; |
| 3658 | void clear_deprecated(); |
| 3659 | static const int kDeprecatedFieldNumber = 3; |
| 3660 | bool deprecated() const; |
| 3661 | void set_deprecated(bool value); |
| 3662 | |
| 3663 | // optional bool map_entry = 7; |
| 3664 | bool has_map_entry() const; |
| 3665 | void clear_map_entry(); |
| 3666 | static const int kMapEntryFieldNumber = 7; |
| 3667 | bool map_entry() const; |
| 3668 | void set_map_entry(bool value); |
| 3669 | |
| 3670 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions) |
| 3671 | // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
| 3672 | private: |
| 3673 | void set_has_message_set_wire_format(); |
| 3674 | void clear_has_message_set_wire_format(); |
| 3675 | void set_has_no_standard_descriptor_accessor(); |
| 3676 | void clear_has_no_standard_descriptor_accessor(); |
| 3677 | void set_has_deprecated(); |
| 3678 | void clear_has_deprecated(); |
| 3679 | void set_has_map_entry(); |
| 3680 | void clear_has_map_entry(); |
| 3681 | |
| 3682 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 3683 | |
| 3684 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3685 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 3686 | typedef void InternalArenaConstructable_; |
| 3687 | typedef void DestructorSkippable_; |
| 3688 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3689 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3690 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 3691 | bool message_set_wire_format_; |
| 3692 | bool no_standard_descriptor_accessor_; |
| 3693 | bool deprecated_; |
| 3694 | bool map_entry_; |
| 3695 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 3696 | }; |
| 3697 | // ------------------------------------------------------------------- |
| 3698 | |
| 3699 | class LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
| 3700 | public: |
| 3701 | FieldOptions(); |
| 3702 | virtual ~FieldOptions(); |
| 3703 | |
| 3704 | FieldOptions(const FieldOptions& from); |
| 3705 | |
| 3706 | inline FieldOptions& operator=(const FieldOptions& from) { |
| 3707 | CopyFrom(from); |
| 3708 | return *this; |
| 3709 | } |
| 3710 | #if LANG_CXX11 |
| 3711 | FieldOptions(FieldOptions&& from) noexcept |
| 3712 | : FieldOptions() { |
| 3713 | *this = ::std::move(from); |
| 3714 | } |
| 3715 | |
| 3716 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
| 3717 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3718 | if (this != &from) InternalSwap(&from); |
| 3719 | } else { |
| 3720 | CopyFrom(from); |
| 3721 | } |
| 3722 | return *this; |
| 3723 | } |
| 3724 | #endif |
| 3725 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3726 | return _internal_metadata_.unknown_fields(); |
| 3727 | } |
| 3728 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3729 | return _internal_metadata_.mutable_unknown_fields(); |
| 3730 | } |
| 3731 | |
| 3732 | inline ::google::protobuf::Arena* GetArena() const final { |
| 3733 | return GetArenaNoVirtual(); |
| 3734 | } |
| 3735 | inline void* GetMaybeArenaPointer() const final { |
| 3736 | return MaybeArenaPtr(); |
| 3737 | } |
| 3738 | static const ::google::protobuf::Descriptor* descriptor(); |
| 3739 | static const FieldOptions& default_instance(); |
| 3740 | |
| 3741 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3742 | static inline const FieldOptions* internal_default_instance() { |
| 3743 | return reinterpret_cast<const FieldOptions*>( |
| 3744 | &_FieldOptions_default_instance_); |
| 3745 | } |
| 3746 | static constexpr int kIndexInFileMessages = |
| 3747 | 15; |
| 3748 | |
| 3749 | void UnsafeArenaSwap(FieldOptions* other); |
| 3750 | void Swap(FieldOptions* other); |
| 3751 | friend void swap(FieldOptions& a, FieldOptions& b) { |
| 3752 | a.Swap(&b); |
| 3753 | } |
| 3754 | |
| 3755 | // implements Message ---------------------------------------------- |
| 3756 | |
| 3757 | inline FieldOptions* New() const final { |
| 3758 | return CreateMaybeMessage<FieldOptions>(NULL); |
| 3759 | } |
| 3760 | |
| 3761 | FieldOptions* New(::google::protobuf::Arena* arena) const final { |
| 3762 | return CreateMaybeMessage<FieldOptions>(arena); |
| 3763 | } |
| 3764 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 3765 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 3766 | void CopyFrom(const FieldOptions& from); |
| 3767 | void MergeFrom(const FieldOptions& from); |
| 3768 | void Clear() final; |
| 3769 | bool IsInitialized() const final; |
| 3770 | |
| 3771 | size_t ByteSizeLong() const final; |
| 3772 | bool MergePartialFromCodedStream( |
| 3773 | ::google::protobuf::io::CodedInputStream* input) final; |
| 3774 | void SerializeWithCachedSizes( |
| 3775 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 3776 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 3777 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 3778 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 3779 | |
| 3780 | private: |
| 3781 | void SharedCtor(); |
| 3782 | void SharedDtor(); |
| 3783 | void SetCachedSize(int size) const final; |
| 3784 | void InternalSwap(FieldOptions* other); |
| 3785 | protected: |
| 3786 | explicit FieldOptions(::google::protobuf::Arena* arena); |
| 3787 | private: |
| 3788 | static void ArenaDtor(void* object); |
| 3789 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 3790 | private: |
| 3791 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 3792 | return _internal_metadata_.arena(); |
| 3793 | } |
| 3794 | inline void* MaybeArenaPtr() const { |
| 3795 | return _internal_metadata_.raw_arena_ptr(); |
| 3796 | } |
| 3797 | public: |
| 3798 | |
| 3799 | ::google::protobuf::Metadata GetMetadata() const final; |
| 3800 | |
| 3801 | // nested types ---------------------------------------------------- |
| 3802 | |
| 3803 | typedef FieldOptions_CType CType; |
| 3804 | static const CType STRING = |
| 3805 | FieldOptions_CType_STRING; |
| 3806 | static const CType CORD = |
| 3807 | FieldOptions_CType_CORD; |
| 3808 | static const CType STRING_PIECE = |
| 3809 | FieldOptions_CType_STRING_PIECE; |
| 3810 | static inline bool CType_IsValid(int value) { |
| 3811 | return FieldOptions_CType_IsValid(value); |
| 3812 | } |
| 3813 | static const CType CType_MIN = |
| 3814 | FieldOptions_CType_CType_MIN; |
| 3815 | static const CType CType_MAX = |
| 3816 | FieldOptions_CType_CType_MAX; |
| 3817 | static const int CType_ARRAYSIZE = |
| 3818 | FieldOptions_CType_CType_ARRAYSIZE; |
| 3819 | static inline const ::google::protobuf::EnumDescriptor* |
| 3820 | CType_descriptor() { |
| 3821 | return FieldOptions_CType_descriptor(); |
| 3822 | } |
| 3823 | static inline const ::std::string& CType_Name(CType value) { |
| 3824 | return FieldOptions_CType_Name(value); |
| 3825 | } |
| 3826 | static inline bool CType_Parse(const ::std::string& name, |
| 3827 | CType* value) { |
| 3828 | return FieldOptions_CType_Parse(name, value); |
| 3829 | } |
| 3830 | |
| 3831 | typedef FieldOptions_JSType JSType; |
| 3832 | static const JSType JS_NORMAL = |
| 3833 | FieldOptions_JSType_JS_NORMAL; |
| 3834 | static const JSType JS_STRING = |
| 3835 | FieldOptions_JSType_JS_STRING; |
| 3836 | static const JSType JS_NUMBER = |
| 3837 | FieldOptions_JSType_JS_NUMBER; |
| 3838 | static inline bool JSType_IsValid(int value) { |
| 3839 | return FieldOptions_JSType_IsValid(value); |
| 3840 | } |
| 3841 | static const JSType JSType_MIN = |
| 3842 | FieldOptions_JSType_JSType_MIN; |
| 3843 | static const JSType JSType_MAX = |
| 3844 | FieldOptions_JSType_JSType_MAX; |
| 3845 | static const int JSType_ARRAYSIZE = |
| 3846 | FieldOptions_JSType_JSType_ARRAYSIZE; |
| 3847 | static inline const ::google::protobuf::EnumDescriptor* |
| 3848 | JSType_descriptor() { |
| 3849 | return FieldOptions_JSType_descriptor(); |
| 3850 | } |
| 3851 | static inline const ::std::string& JSType_Name(JSType value) { |
| 3852 | return FieldOptions_JSType_Name(value); |
| 3853 | } |
| 3854 | static inline bool JSType_Parse(const ::std::string& name, |
| 3855 | JSType* value) { |
| 3856 | return FieldOptions_JSType_Parse(name, value); |
| 3857 | } |
| 3858 | |
| 3859 | // accessors ------------------------------------------------------- |
| 3860 | |
| 3861 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 3862 | int uninterpreted_option_size() const; |
| 3863 | void clear_uninterpreted_option(); |
| 3864 | static const int kUninterpretedOptionFieldNumber = 999; |
| 3865 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 3866 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 3867 | mutable_uninterpreted_option(); |
| 3868 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 3869 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 3870 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 3871 | uninterpreted_option() const; |
| 3872 | |
| 3873 | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
| 3874 | bool has_ctype() const; |
| 3875 | void clear_ctype(); |
| 3876 | static const int kCtypeFieldNumber = 1; |
| 3877 | ::google::protobuf::FieldOptions_CType ctype() const; |
| 3878 | void set_ctype(::google::protobuf::FieldOptions_CType value); |
| 3879 | |
| 3880 | // optional bool packed = 2; |
| 3881 | bool has_packed() const; |
| 3882 | void clear_packed(); |
| 3883 | static const int kPackedFieldNumber = 2; |
| 3884 | bool packed() const; |
| 3885 | void set_packed(bool value); |
| 3886 | |
| 3887 | // optional bool lazy = 5 [default = false]; |
| 3888 | bool has_lazy() const; |
| 3889 | void clear_lazy(); |
| 3890 | static const int kLazyFieldNumber = 5; |
| 3891 | bool lazy() const; |
| 3892 | void set_lazy(bool value); |
| 3893 | |
| 3894 | // optional bool deprecated = 3 [default = false]; |
| 3895 | bool has_deprecated() const; |
| 3896 | void clear_deprecated(); |
| 3897 | static const int kDeprecatedFieldNumber = 3; |
| 3898 | bool deprecated() const; |
| 3899 | void set_deprecated(bool value); |
| 3900 | |
| 3901 | // optional bool weak = 10 [default = false]; |
| 3902 | bool has_weak() const; |
| 3903 | void clear_weak(); |
| 3904 | static const int kWeakFieldNumber = 10; |
| 3905 | bool weak() const; |
| 3906 | void set_weak(bool value); |
| 3907 | |
| 3908 | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
| 3909 | bool has_jstype() const; |
| 3910 | void clear_jstype(); |
| 3911 | static const int kJstypeFieldNumber = 6; |
| 3912 | ::google::protobuf::FieldOptions_JSType jstype() const; |
| 3913 | void set_jstype(::google::protobuf::FieldOptions_JSType value); |
| 3914 | |
| 3915 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions) |
| 3916 | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
| 3917 | private: |
| 3918 | void set_has_ctype(); |
| 3919 | void clear_has_ctype(); |
| 3920 | void set_has_packed(); |
| 3921 | void clear_has_packed(); |
| 3922 | void set_has_jstype(); |
| 3923 | void clear_has_jstype(); |
| 3924 | void set_has_lazy(); |
| 3925 | void clear_has_lazy(); |
| 3926 | void set_has_deprecated(); |
| 3927 | void clear_has_deprecated(); |
| 3928 | void set_has_weak(); |
| 3929 | void clear_has_weak(); |
| 3930 | |
| 3931 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 3932 | |
| 3933 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 3934 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 3935 | typedef void InternalArenaConstructable_; |
| 3936 | typedef void DestructorSkippable_; |
| 3937 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 3938 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 3939 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 3940 | int ctype_; |
| 3941 | bool packed_; |
| 3942 | bool lazy_; |
| 3943 | bool deprecated_; |
| 3944 | bool weak_; |
| 3945 | int jstype_; |
| 3946 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 3947 | }; |
| 3948 | // ------------------------------------------------------------------- |
| 3949 | |
| 3950 | class LIBPROTOBUF_EXPORT OneofOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
| 3951 | public: |
| 3952 | OneofOptions(); |
| 3953 | virtual ~OneofOptions(); |
| 3954 | |
| 3955 | OneofOptions(const OneofOptions& from); |
| 3956 | |
| 3957 | inline OneofOptions& operator=(const OneofOptions& from) { |
| 3958 | CopyFrom(from); |
| 3959 | return *this; |
| 3960 | } |
| 3961 | #if LANG_CXX11 |
| 3962 | OneofOptions(OneofOptions&& from) noexcept |
| 3963 | : OneofOptions() { |
| 3964 | *this = ::std::move(from); |
| 3965 | } |
| 3966 | |
| 3967 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
| 3968 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 3969 | if (this != &from) InternalSwap(&from); |
| 3970 | } else { |
| 3971 | CopyFrom(from); |
| 3972 | } |
| 3973 | return *this; |
| 3974 | } |
| 3975 | #endif |
| 3976 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 3977 | return _internal_metadata_.unknown_fields(); |
| 3978 | } |
| 3979 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 3980 | return _internal_metadata_.mutable_unknown_fields(); |
| 3981 | } |
| 3982 | |
| 3983 | inline ::google::protobuf::Arena* GetArena() const final { |
| 3984 | return GetArenaNoVirtual(); |
| 3985 | } |
| 3986 | inline void* GetMaybeArenaPointer() const final { |
| 3987 | return MaybeArenaPtr(); |
| 3988 | } |
| 3989 | static const ::google::protobuf::Descriptor* descriptor(); |
| 3990 | static const OneofOptions& default_instance(); |
| 3991 | |
| 3992 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 3993 | static inline const OneofOptions* internal_default_instance() { |
| 3994 | return reinterpret_cast<const OneofOptions*>( |
| 3995 | &_OneofOptions_default_instance_); |
| 3996 | } |
| 3997 | static constexpr int kIndexInFileMessages = |
| 3998 | 16; |
| 3999 | |
| 4000 | void UnsafeArenaSwap(OneofOptions* other); |
| 4001 | void Swap(OneofOptions* other); |
| 4002 | friend void swap(OneofOptions& a, OneofOptions& b) { |
| 4003 | a.Swap(&b); |
| 4004 | } |
| 4005 | |
| 4006 | // implements Message ---------------------------------------------- |
| 4007 | |
| 4008 | inline OneofOptions* New() const final { |
| 4009 | return CreateMaybeMessage<OneofOptions>(NULL); |
| 4010 | } |
| 4011 | |
| 4012 | OneofOptions* New(::google::protobuf::Arena* arena) const final { |
| 4013 | return CreateMaybeMessage<OneofOptions>(arena); |
| 4014 | } |
| 4015 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4016 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4017 | void CopyFrom(const OneofOptions& from); |
| 4018 | void MergeFrom(const OneofOptions& from); |
| 4019 | void Clear() final; |
| 4020 | bool IsInitialized() const final; |
| 4021 | |
| 4022 | size_t ByteSizeLong() const final; |
| 4023 | bool MergePartialFromCodedStream( |
| 4024 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4025 | void SerializeWithCachedSizes( |
| 4026 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4027 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4028 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4029 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4030 | |
| 4031 | private: |
| 4032 | void SharedCtor(); |
| 4033 | void SharedDtor(); |
| 4034 | void SetCachedSize(int size) const final; |
| 4035 | void InternalSwap(OneofOptions* other); |
| 4036 | protected: |
| 4037 | explicit OneofOptions(::google::protobuf::Arena* arena); |
| 4038 | private: |
| 4039 | static void ArenaDtor(void* object); |
| 4040 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4041 | private: |
| 4042 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4043 | return _internal_metadata_.arena(); |
| 4044 | } |
| 4045 | inline void* MaybeArenaPtr() const { |
| 4046 | return _internal_metadata_.raw_arena_ptr(); |
| 4047 | } |
| 4048 | public: |
| 4049 | |
| 4050 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4051 | |
| 4052 | // nested types ---------------------------------------------------- |
| 4053 | |
| 4054 | // accessors ------------------------------------------------------- |
| 4055 | |
| 4056 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4057 | int uninterpreted_option_size() const; |
| 4058 | void clear_uninterpreted_option(); |
| 4059 | static const int kUninterpretedOptionFieldNumber = 999; |
| 4060 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4061 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 4062 | mutable_uninterpreted_option(); |
| 4063 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 4064 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 4065 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 4066 | uninterpreted_option() const; |
| 4067 | |
| 4068 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions) |
| 4069 | // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) |
| 4070 | private: |
| 4071 | |
| 4072 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 4073 | |
| 4074 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4075 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4076 | typedef void InternalArenaConstructable_; |
| 4077 | typedef void DestructorSkippable_; |
| 4078 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4079 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4080 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 4081 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4082 | }; |
| 4083 | // ------------------------------------------------------------------- |
| 4084 | |
| 4085 | class LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { |
| 4086 | public: |
| 4087 | EnumOptions(); |
| 4088 | virtual ~EnumOptions(); |
| 4089 | |
| 4090 | EnumOptions(const EnumOptions& from); |
| 4091 | |
| 4092 | inline EnumOptions& operator=(const EnumOptions& from) { |
| 4093 | CopyFrom(from); |
| 4094 | return *this; |
| 4095 | } |
| 4096 | #if LANG_CXX11 |
| 4097 | EnumOptions(EnumOptions&& from) noexcept |
| 4098 | : EnumOptions() { |
| 4099 | *this = ::std::move(from); |
| 4100 | } |
| 4101 | |
| 4102 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
| 4103 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4104 | if (this != &from) InternalSwap(&from); |
| 4105 | } else { |
| 4106 | CopyFrom(from); |
| 4107 | } |
| 4108 | return *this; |
| 4109 | } |
| 4110 | #endif |
| 4111 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4112 | return _internal_metadata_.unknown_fields(); |
| 4113 | } |
| 4114 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4115 | return _internal_metadata_.mutable_unknown_fields(); |
| 4116 | } |
| 4117 | |
| 4118 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4119 | return GetArenaNoVirtual(); |
| 4120 | } |
| 4121 | inline void* GetMaybeArenaPointer() const final { |
| 4122 | return MaybeArenaPtr(); |
| 4123 | } |
| 4124 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4125 | static const EnumOptions& default_instance(); |
| 4126 | |
| 4127 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4128 | static inline const EnumOptions* internal_default_instance() { |
| 4129 | return reinterpret_cast<const EnumOptions*>( |
| 4130 | &_EnumOptions_default_instance_); |
| 4131 | } |
| 4132 | static constexpr int kIndexInFileMessages = |
| 4133 | 17; |
| 4134 | |
| 4135 | void UnsafeArenaSwap(EnumOptions* other); |
| 4136 | void Swap(EnumOptions* other); |
| 4137 | friend void swap(EnumOptions& a, EnumOptions& b) { |
| 4138 | a.Swap(&b); |
| 4139 | } |
| 4140 | |
| 4141 | // implements Message ---------------------------------------------- |
| 4142 | |
| 4143 | inline EnumOptions* New() const final { |
| 4144 | return CreateMaybeMessage<EnumOptions>(NULL); |
| 4145 | } |
| 4146 | |
| 4147 | EnumOptions* New(::google::protobuf::Arena* arena) const final { |
| 4148 | return CreateMaybeMessage<EnumOptions>(arena); |
| 4149 | } |
| 4150 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4151 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4152 | void CopyFrom(const EnumOptions& from); |
| 4153 | void MergeFrom(const EnumOptions& from); |
| 4154 | void Clear() final; |
| 4155 | bool IsInitialized() const final; |
| 4156 | |
| 4157 | size_t ByteSizeLong() const final; |
| 4158 | bool MergePartialFromCodedStream( |
| 4159 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4160 | void SerializeWithCachedSizes( |
| 4161 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4162 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4163 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4164 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4165 | |
| 4166 | private: |
| 4167 | void SharedCtor(); |
| 4168 | void SharedDtor(); |
| 4169 | void SetCachedSize(int size) const final; |
| 4170 | void InternalSwap(EnumOptions* other); |
| 4171 | protected: |
| 4172 | explicit EnumOptions(::google::protobuf::Arena* arena); |
| 4173 | private: |
| 4174 | static void ArenaDtor(void* object); |
| 4175 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4176 | private: |
| 4177 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4178 | return _internal_metadata_.arena(); |
| 4179 | } |
| 4180 | inline void* MaybeArenaPtr() const { |
| 4181 | return _internal_metadata_.raw_arena_ptr(); |
| 4182 | } |
| 4183 | public: |
| 4184 | |
| 4185 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4186 | |
| 4187 | // nested types ---------------------------------------------------- |
| 4188 | |
| 4189 | // accessors ------------------------------------------------------- |
| 4190 | |
| 4191 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4192 | int uninterpreted_option_size() const; |
| 4193 | void clear_uninterpreted_option(); |
| 4194 | static const int kUninterpretedOptionFieldNumber = 999; |
| 4195 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4196 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 4197 | mutable_uninterpreted_option(); |
| 4198 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 4199 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 4200 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 4201 | uninterpreted_option() const; |
| 4202 | |
| 4203 | // optional bool allow_alias = 2; |
| 4204 | bool has_allow_alias() const; |
| 4205 | void clear_allow_alias(); |
| 4206 | static const int kAllowAliasFieldNumber = 2; |
| 4207 | bool allow_alias() const; |
| 4208 | void set_allow_alias(bool value); |
| 4209 | |
| 4210 | // optional bool deprecated = 3 [default = false]; |
| 4211 | bool has_deprecated() const; |
| 4212 | void clear_deprecated(); |
| 4213 | static const int kDeprecatedFieldNumber = 3; |
| 4214 | bool deprecated() const; |
| 4215 | void set_deprecated(bool value); |
| 4216 | |
| 4217 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions) |
| 4218 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
| 4219 | private: |
| 4220 | void set_has_allow_alias(); |
| 4221 | void clear_has_allow_alias(); |
| 4222 | void set_has_deprecated(); |
| 4223 | void clear_has_deprecated(); |
| 4224 | |
| 4225 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 4226 | |
| 4227 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4228 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4229 | typedef void InternalArenaConstructable_; |
| 4230 | typedef void DestructorSkippable_; |
| 4231 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4232 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4233 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 4234 | bool allow_alias_; |
| 4235 | bool deprecated_; |
| 4236 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4237 | }; |
| 4238 | // ------------------------------------------------------------------- |
| 4239 | |
| 4240 | class LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { |
| 4241 | public: |
| 4242 | EnumValueOptions(); |
| 4243 | virtual ~EnumValueOptions(); |
| 4244 | |
| 4245 | EnumValueOptions(const EnumValueOptions& from); |
| 4246 | |
| 4247 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
| 4248 | CopyFrom(from); |
| 4249 | return *this; |
| 4250 | } |
| 4251 | #if LANG_CXX11 |
| 4252 | EnumValueOptions(EnumValueOptions&& from) noexcept |
| 4253 | : EnumValueOptions() { |
| 4254 | *this = ::std::move(from); |
| 4255 | } |
| 4256 | |
| 4257 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
| 4258 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4259 | if (this != &from) InternalSwap(&from); |
| 4260 | } else { |
| 4261 | CopyFrom(from); |
| 4262 | } |
| 4263 | return *this; |
| 4264 | } |
| 4265 | #endif |
| 4266 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4267 | return _internal_metadata_.unknown_fields(); |
| 4268 | } |
| 4269 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4270 | return _internal_metadata_.mutable_unknown_fields(); |
| 4271 | } |
| 4272 | |
| 4273 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4274 | return GetArenaNoVirtual(); |
| 4275 | } |
| 4276 | inline void* GetMaybeArenaPointer() const final { |
| 4277 | return MaybeArenaPtr(); |
| 4278 | } |
| 4279 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4280 | static const EnumValueOptions& default_instance(); |
| 4281 | |
| 4282 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4283 | static inline const EnumValueOptions* internal_default_instance() { |
| 4284 | return reinterpret_cast<const EnumValueOptions*>( |
| 4285 | &_EnumValueOptions_default_instance_); |
| 4286 | } |
| 4287 | static constexpr int kIndexInFileMessages = |
| 4288 | 18; |
| 4289 | |
| 4290 | void UnsafeArenaSwap(EnumValueOptions* other); |
| 4291 | void Swap(EnumValueOptions* other); |
| 4292 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { |
| 4293 | a.Swap(&b); |
| 4294 | } |
| 4295 | |
| 4296 | // implements Message ---------------------------------------------- |
| 4297 | |
| 4298 | inline EnumValueOptions* New() const final { |
| 4299 | return CreateMaybeMessage<EnumValueOptions>(NULL); |
| 4300 | } |
| 4301 | |
| 4302 | EnumValueOptions* New(::google::protobuf::Arena* arena) const final { |
| 4303 | return CreateMaybeMessage<EnumValueOptions>(arena); |
| 4304 | } |
| 4305 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4306 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4307 | void CopyFrom(const EnumValueOptions& from); |
| 4308 | void MergeFrom(const EnumValueOptions& from); |
| 4309 | void Clear() final; |
| 4310 | bool IsInitialized() const final; |
| 4311 | |
| 4312 | size_t ByteSizeLong() const final; |
| 4313 | bool MergePartialFromCodedStream( |
| 4314 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4315 | void SerializeWithCachedSizes( |
| 4316 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4317 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4318 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4319 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4320 | |
| 4321 | private: |
| 4322 | void SharedCtor(); |
| 4323 | void SharedDtor(); |
| 4324 | void SetCachedSize(int size) const final; |
| 4325 | void InternalSwap(EnumValueOptions* other); |
| 4326 | protected: |
| 4327 | explicit EnumValueOptions(::google::protobuf::Arena* arena); |
| 4328 | private: |
| 4329 | static void ArenaDtor(void* object); |
| 4330 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4331 | private: |
| 4332 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4333 | return _internal_metadata_.arena(); |
| 4334 | } |
| 4335 | inline void* MaybeArenaPtr() const { |
| 4336 | return _internal_metadata_.raw_arena_ptr(); |
| 4337 | } |
| 4338 | public: |
| 4339 | |
| 4340 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4341 | |
| 4342 | // nested types ---------------------------------------------------- |
| 4343 | |
| 4344 | // accessors ------------------------------------------------------- |
| 4345 | |
| 4346 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4347 | int uninterpreted_option_size() const; |
| 4348 | void clear_uninterpreted_option(); |
| 4349 | static const int kUninterpretedOptionFieldNumber = 999; |
| 4350 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4351 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 4352 | mutable_uninterpreted_option(); |
| 4353 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 4354 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 4355 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 4356 | uninterpreted_option() const; |
| 4357 | |
| 4358 | // optional bool deprecated = 1 [default = false]; |
| 4359 | bool has_deprecated() const; |
| 4360 | void clear_deprecated(); |
| 4361 | static const int kDeprecatedFieldNumber = 1; |
| 4362 | bool deprecated() const; |
| 4363 | void set_deprecated(bool value); |
| 4364 | |
| 4365 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions) |
| 4366 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
| 4367 | private: |
| 4368 | void set_has_deprecated(); |
| 4369 | void clear_has_deprecated(); |
| 4370 | |
| 4371 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 4372 | |
| 4373 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4374 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4375 | typedef void InternalArenaConstructable_; |
| 4376 | typedef void DestructorSkippable_; |
| 4377 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4378 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4379 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 4380 | bool deprecated_; |
| 4381 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4382 | }; |
| 4383 | // ------------------------------------------------------------------- |
| 4384 | |
| 4385 | class LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
| 4386 | public: |
| 4387 | ServiceOptions(); |
| 4388 | virtual ~ServiceOptions(); |
| 4389 | |
| 4390 | ServiceOptions(const ServiceOptions& from); |
| 4391 | |
| 4392 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
| 4393 | CopyFrom(from); |
| 4394 | return *this; |
| 4395 | } |
| 4396 | #if LANG_CXX11 |
| 4397 | ServiceOptions(ServiceOptions&& from) noexcept |
| 4398 | : ServiceOptions() { |
| 4399 | *this = ::std::move(from); |
| 4400 | } |
| 4401 | |
| 4402 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
| 4403 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4404 | if (this != &from) InternalSwap(&from); |
| 4405 | } else { |
| 4406 | CopyFrom(from); |
| 4407 | } |
| 4408 | return *this; |
| 4409 | } |
| 4410 | #endif |
| 4411 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4412 | return _internal_metadata_.unknown_fields(); |
| 4413 | } |
| 4414 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4415 | return _internal_metadata_.mutable_unknown_fields(); |
| 4416 | } |
| 4417 | |
| 4418 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4419 | return GetArenaNoVirtual(); |
| 4420 | } |
| 4421 | inline void* GetMaybeArenaPointer() const final { |
| 4422 | return MaybeArenaPtr(); |
| 4423 | } |
| 4424 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4425 | static const ServiceOptions& default_instance(); |
| 4426 | |
| 4427 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4428 | static inline const ServiceOptions* internal_default_instance() { |
| 4429 | return reinterpret_cast<const ServiceOptions*>( |
| 4430 | &_ServiceOptions_default_instance_); |
| 4431 | } |
| 4432 | static constexpr int kIndexInFileMessages = |
| 4433 | 19; |
| 4434 | |
| 4435 | void UnsafeArenaSwap(ServiceOptions* other); |
| 4436 | void Swap(ServiceOptions* other); |
| 4437 | friend void swap(ServiceOptions& a, ServiceOptions& b) { |
| 4438 | a.Swap(&b); |
| 4439 | } |
| 4440 | |
| 4441 | // implements Message ---------------------------------------------- |
| 4442 | |
| 4443 | inline ServiceOptions* New() const final { |
| 4444 | return CreateMaybeMessage<ServiceOptions>(NULL); |
| 4445 | } |
| 4446 | |
| 4447 | ServiceOptions* New(::google::protobuf::Arena* arena) const final { |
| 4448 | return CreateMaybeMessage<ServiceOptions>(arena); |
| 4449 | } |
| 4450 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4451 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4452 | void CopyFrom(const ServiceOptions& from); |
| 4453 | void MergeFrom(const ServiceOptions& from); |
| 4454 | void Clear() final; |
| 4455 | bool IsInitialized() const final; |
| 4456 | |
| 4457 | size_t ByteSizeLong() const final; |
| 4458 | bool MergePartialFromCodedStream( |
| 4459 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4460 | void SerializeWithCachedSizes( |
| 4461 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4462 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4463 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4464 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4465 | |
| 4466 | private: |
| 4467 | void SharedCtor(); |
| 4468 | void SharedDtor(); |
| 4469 | void SetCachedSize(int size) const final; |
| 4470 | void InternalSwap(ServiceOptions* other); |
| 4471 | protected: |
| 4472 | explicit ServiceOptions(::google::protobuf::Arena* arena); |
| 4473 | private: |
| 4474 | static void ArenaDtor(void* object); |
| 4475 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4476 | private: |
| 4477 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4478 | return _internal_metadata_.arena(); |
| 4479 | } |
| 4480 | inline void* MaybeArenaPtr() const { |
| 4481 | return _internal_metadata_.raw_arena_ptr(); |
| 4482 | } |
| 4483 | public: |
| 4484 | |
| 4485 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4486 | |
| 4487 | // nested types ---------------------------------------------------- |
| 4488 | |
| 4489 | // accessors ------------------------------------------------------- |
| 4490 | |
| 4491 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4492 | int uninterpreted_option_size() const; |
| 4493 | void clear_uninterpreted_option(); |
| 4494 | static const int kUninterpretedOptionFieldNumber = 999; |
| 4495 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4496 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 4497 | mutable_uninterpreted_option(); |
| 4498 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 4499 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 4500 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 4501 | uninterpreted_option() const; |
| 4502 | |
| 4503 | // optional bool deprecated = 33 [default = false]; |
| 4504 | bool has_deprecated() const; |
| 4505 | void clear_deprecated(); |
| 4506 | static const int kDeprecatedFieldNumber = 33; |
| 4507 | bool deprecated() const; |
| 4508 | void set_deprecated(bool value); |
| 4509 | |
| 4510 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions) |
| 4511 | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
| 4512 | private: |
| 4513 | void set_has_deprecated(); |
| 4514 | void clear_has_deprecated(); |
| 4515 | |
| 4516 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 4517 | |
| 4518 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4519 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4520 | typedef void InternalArenaConstructable_; |
| 4521 | typedef void DestructorSkippable_; |
| 4522 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4523 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4524 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 4525 | bool deprecated_; |
| 4526 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4527 | }; |
| 4528 | // ------------------------------------------------------------------- |
| 4529 | |
| 4530 | class LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
| 4531 | public: |
| 4532 | MethodOptions(); |
| 4533 | virtual ~MethodOptions(); |
| 4534 | |
| 4535 | MethodOptions(const MethodOptions& from); |
| 4536 | |
| 4537 | inline MethodOptions& operator=(const MethodOptions& from) { |
| 4538 | CopyFrom(from); |
| 4539 | return *this; |
| 4540 | } |
| 4541 | #if LANG_CXX11 |
| 4542 | MethodOptions(MethodOptions&& from) noexcept |
| 4543 | : MethodOptions() { |
| 4544 | *this = ::std::move(from); |
| 4545 | } |
| 4546 | |
| 4547 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
| 4548 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4549 | if (this != &from) InternalSwap(&from); |
| 4550 | } else { |
| 4551 | CopyFrom(from); |
| 4552 | } |
| 4553 | return *this; |
| 4554 | } |
| 4555 | #endif |
| 4556 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4557 | return _internal_metadata_.unknown_fields(); |
| 4558 | } |
| 4559 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4560 | return _internal_metadata_.mutable_unknown_fields(); |
| 4561 | } |
| 4562 | |
| 4563 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4564 | return GetArenaNoVirtual(); |
| 4565 | } |
| 4566 | inline void* GetMaybeArenaPointer() const final { |
| 4567 | return MaybeArenaPtr(); |
| 4568 | } |
| 4569 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4570 | static const MethodOptions& default_instance(); |
| 4571 | |
| 4572 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4573 | static inline const MethodOptions* internal_default_instance() { |
| 4574 | return reinterpret_cast<const MethodOptions*>( |
| 4575 | &_MethodOptions_default_instance_); |
| 4576 | } |
| 4577 | static constexpr int kIndexInFileMessages = |
| 4578 | 20; |
| 4579 | |
| 4580 | void UnsafeArenaSwap(MethodOptions* other); |
| 4581 | void Swap(MethodOptions* other); |
| 4582 | friend void swap(MethodOptions& a, MethodOptions& b) { |
| 4583 | a.Swap(&b); |
| 4584 | } |
| 4585 | |
| 4586 | // implements Message ---------------------------------------------- |
| 4587 | |
| 4588 | inline MethodOptions* New() const final { |
| 4589 | return CreateMaybeMessage<MethodOptions>(NULL); |
| 4590 | } |
| 4591 | |
| 4592 | MethodOptions* New(::google::protobuf::Arena* arena) const final { |
| 4593 | return CreateMaybeMessage<MethodOptions>(arena); |
| 4594 | } |
| 4595 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4596 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4597 | void CopyFrom(const MethodOptions& from); |
| 4598 | void MergeFrom(const MethodOptions& from); |
| 4599 | void Clear() final; |
| 4600 | bool IsInitialized() const final; |
| 4601 | |
| 4602 | size_t ByteSizeLong() const final; |
| 4603 | bool MergePartialFromCodedStream( |
| 4604 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4605 | void SerializeWithCachedSizes( |
| 4606 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4607 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4608 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4609 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4610 | |
| 4611 | private: |
| 4612 | void SharedCtor(); |
| 4613 | void SharedDtor(); |
| 4614 | void SetCachedSize(int size) const final; |
| 4615 | void InternalSwap(MethodOptions* other); |
| 4616 | protected: |
| 4617 | explicit MethodOptions(::google::protobuf::Arena* arena); |
| 4618 | private: |
| 4619 | static void ArenaDtor(void* object); |
| 4620 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4621 | private: |
| 4622 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4623 | return _internal_metadata_.arena(); |
| 4624 | } |
| 4625 | inline void* MaybeArenaPtr() const { |
| 4626 | return _internal_metadata_.raw_arena_ptr(); |
| 4627 | } |
| 4628 | public: |
| 4629 | |
| 4630 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4631 | |
| 4632 | // nested types ---------------------------------------------------- |
| 4633 | |
| 4634 | typedef MethodOptions_IdempotencyLevel IdempotencyLevel; |
| 4635 | static const IdempotencyLevel IDEMPOTENCY_UNKNOWN = |
| 4636 | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
| 4637 | static const IdempotencyLevel NO_SIDE_EFFECTS = |
| 4638 | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; |
| 4639 | static const IdempotencyLevel IDEMPOTENT = |
| 4640 | MethodOptions_IdempotencyLevel_IDEMPOTENT; |
| 4641 | static inline bool IdempotencyLevel_IsValid(int value) { |
| 4642 | return MethodOptions_IdempotencyLevel_IsValid(value); |
| 4643 | } |
| 4644 | static const IdempotencyLevel IdempotencyLevel_MIN = |
| 4645 | MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; |
| 4646 | static const IdempotencyLevel IdempotencyLevel_MAX = |
| 4647 | MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; |
| 4648 | static const int IdempotencyLevel_ARRAYSIZE = |
| 4649 | MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; |
| 4650 | static inline const ::google::protobuf::EnumDescriptor* |
| 4651 | IdempotencyLevel_descriptor() { |
| 4652 | return MethodOptions_IdempotencyLevel_descriptor(); |
| 4653 | } |
| 4654 | static inline const ::std::string& IdempotencyLevel_Name(IdempotencyLevel value) { |
| 4655 | return MethodOptions_IdempotencyLevel_Name(value); |
| 4656 | } |
| 4657 | static inline bool IdempotencyLevel_Parse(const ::std::string& name, |
| 4658 | IdempotencyLevel* value) { |
| 4659 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
| 4660 | } |
| 4661 | |
| 4662 | // accessors ------------------------------------------------------- |
| 4663 | |
| 4664 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4665 | int uninterpreted_option_size() const; |
| 4666 | void clear_uninterpreted_option(); |
| 4667 | static const int kUninterpretedOptionFieldNumber = 999; |
| 4668 | ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4669 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 4670 | mutable_uninterpreted_option(); |
| 4671 | const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const; |
| 4672 | ::google::protobuf::UninterpretedOption* add_uninterpreted_option(); |
| 4673 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 4674 | uninterpreted_option() const; |
| 4675 | |
| 4676 | // optional bool deprecated = 33 [default = false]; |
| 4677 | bool has_deprecated() const; |
| 4678 | void clear_deprecated(); |
| 4679 | static const int kDeprecatedFieldNumber = 33; |
| 4680 | bool deprecated() const; |
| 4681 | void set_deprecated(bool value); |
| 4682 | |
| 4683 | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
| 4684 | bool has_idempotency_level() const; |
| 4685 | void clear_idempotency_level(); |
| 4686 | static const int kIdempotencyLevelFieldNumber = 34; |
| 4687 | ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const; |
| 4688 | void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value); |
| 4689 | |
| 4690 | GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions) |
| 4691 | // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
| 4692 | private: |
| 4693 | void set_has_deprecated(); |
| 4694 | void clear_has_deprecated(); |
| 4695 | void set_has_idempotency_level(); |
| 4696 | void clear_has_idempotency_level(); |
| 4697 | |
| 4698 | ::google::protobuf::internal::ExtensionSet _extensions_; |
| 4699 | |
| 4700 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4701 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4702 | typedef void InternalArenaConstructable_; |
| 4703 | typedef void DestructorSkippable_; |
| 4704 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4705 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4706 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_; |
| 4707 | bool deprecated_; |
| 4708 | int idempotency_level_; |
| 4709 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4710 | }; |
| 4711 | // ------------------------------------------------------------------- |
| 4712 | |
| 4713 | class LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
| 4714 | public: |
| 4715 | UninterpretedOption_NamePart(); |
| 4716 | virtual ~UninterpretedOption_NamePart(); |
| 4717 | |
| 4718 | UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
| 4719 | |
| 4720 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
| 4721 | CopyFrom(from); |
| 4722 | return *this; |
| 4723 | } |
| 4724 | #if LANG_CXX11 |
| 4725 | UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
| 4726 | : UninterpretedOption_NamePart() { |
| 4727 | *this = ::std::move(from); |
| 4728 | } |
| 4729 | |
| 4730 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
| 4731 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4732 | if (this != &from) InternalSwap(&from); |
| 4733 | } else { |
| 4734 | CopyFrom(from); |
| 4735 | } |
| 4736 | return *this; |
| 4737 | } |
| 4738 | #endif |
| 4739 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4740 | return _internal_metadata_.unknown_fields(); |
| 4741 | } |
| 4742 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4743 | return _internal_metadata_.mutable_unknown_fields(); |
| 4744 | } |
| 4745 | |
| 4746 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4747 | return GetArenaNoVirtual(); |
| 4748 | } |
| 4749 | inline void* GetMaybeArenaPointer() const final { |
| 4750 | return MaybeArenaPtr(); |
| 4751 | } |
| 4752 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4753 | static const UninterpretedOption_NamePart& default_instance(); |
| 4754 | |
| 4755 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4756 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
| 4757 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
| 4758 | &_UninterpretedOption_NamePart_default_instance_); |
| 4759 | } |
| 4760 | static constexpr int kIndexInFileMessages = |
| 4761 | 21; |
| 4762 | |
| 4763 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other); |
| 4764 | void Swap(UninterpretedOption_NamePart* other); |
| 4765 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { |
| 4766 | a.Swap(&b); |
| 4767 | } |
| 4768 | |
| 4769 | // implements Message ---------------------------------------------- |
| 4770 | |
| 4771 | inline UninterpretedOption_NamePart* New() const final { |
| 4772 | return CreateMaybeMessage<UninterpretedOption_NamePart>(NULL); |
| 4773 | } |
| 4774 | |
| 4775 | UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const final { |
| 4776 | return CreateMaybeMessage<UninterpretedOption_NamePart>(arena); |
| 4777 | } |
| 4778 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4779 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4780 | void CopyFrom(const UninterpretedOption_NamePart& from); |
| 4781 | void MergeFrom(const UninterpretedOption_NamePart& from); |
| 4782 | void Clear() final; |
| 4783 | bool IsInitialized() const final; |
| 4784 | |
| 4785 | size_t ByteSizeLong() const final; |
| 4786 | bool MergePartialFromCodedStream( |
| 4787 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4788 | void SerializeWithCachedSizes( |
| 4789 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4790 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4791 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4792 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4793 | |
| 4794 | private: |
| 4795 | void SharedCtor(); |
| 4796 | void SharedDtor(); |
| 4797 | void SetCachedSize(int size) const final; |
| 4798 | void InternalSwap(UninterpretedOption_NamePart* other); |
| 4799 | protected: |
| 4800 | explicit UninterpretedOption_NamePart(::google::protobuf::Arena* arena); |
| 4801 | private: |
| 4802 | static void ArenaDtor(void* object); |
| 4803 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4804 | private: |
| 4805 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4806 | return _internal_metadata_.arena(); |
| 4807 | } |
| 4808 | inline void* MaybeArenaPtr() const { |
| 4809 | return _internal_metadata_.raw_arena_ptr(); |
| 4810 | } |
| 4811 | public: |
| 4812 | |
| 4813 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4814 | |
| 4815 | // nested types ---------------------------------------------------- |
| 4816 | |
| 4817 | // accessors ------------------------------------------------------- |
| 4818 | |
| 4819 | // required string name_part = 1; |
| 4820 | bool has_name_part() const; |
| 4821 | void clear_name_part(); |
| 4822 | static const int kNamePartFieldNumber = 1; |
| 4823 | const ::std::string& name_part() const; |
| 4824 | void set_name_part(const ::std::string& value); |
| 4825 | #if LANG_CXX11 |
| 4826 | void set_name_part(::std::string&& value); |
| 4827 | #endif |
| 4828 | void set_name_part(const char* value); |
| 4829 | void set_name_part(const char* value, size_t size); |
| 4830 | ::std::string* mutable_name_part(); |
| 4831 | ::std::string* release_name_part(); |
| 4832 | void set_allocated_name_part(::std::string* name_part); |
| 4833 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 4834 | " string fields are deprecated and will be removed in a" |
| 4835 | " future release." ) |
| 4836 | ::std::string* unsafe_arena_release_name_part(); |
| 4837 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 4838 | " string fields are deprecated and will be removed in a" |
| 4839 | " future release." ) |
| 4840 | void unsafe_arena_set_allocated_name_part( |
| 4841 | ::std::string* name_part); |
| 4842 | |
| 4843 | // required bool is_extension = 2; |
| 4844 | bool has_is_extension() const; |
| 4845 | void clear_is_extension(); |
| 4846 | static const int kIsExtensionFieldNumber = 2; |
| 4847 | bool is_extension() const; |
| 4848 | void set_is_extension(bool value); |
| 4849 | |
| 4850 | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
| 4851 | private: |
| 4852 | void set_has_name_part(); |
| 4853 | void clear_has_name_part(); |
| 4854 | void set_has_is_extension(); |
| 4855 | void clear_has_is_extension(); |
| 4856 | |
| 4857 | // helper for ByteSizeLong() |
| 4858 | size_t RequiredFieldsByteSizeFallback() const; |
| 4859 | |
| 4860 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 4861 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 4862 | typedef void InternalArenaConstructable_; |
| 4863 | typedef void DestructorSkippable_; |
| 4864 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 4865 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 4866 | ::google::protobuf::internal::ArenaStringPtr name_part_; |
| 4867 | bool is_extension_; |
| 4868 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 4869 | }; |
| 4870 | // ------------------------------------------------------------------- |
| 4871 | |
| 4872 | class LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { |
| 4873 | public: |
| 4874 | UninterpretedOption(); |
| 4875 | virtual ~UninterpretedOption(); |
| 4876 | |
| 4877 | UninterpretedOption(const UninterpretedOption& from); |
| 4878 | |
| 4879 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
| 4880 | CopyFrom(from); |
| 4881 | return *this; |
| 4882 | } |
| 4883 | #if LANG_CXX11 |
| 4884 | UninterpretedOption(UninterpretedOption&& from) noexcept |
| 4885 | : UninterpretedOption() { |
| 4886 | *this = ::std::move(from); |
| 4887 | } |
| 4888 | |
| 4889 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
| 4890 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 4891 | if (this != &from) InternalSwap(&from); |
| 4892 | } else { |
| 4893 | CopyFrom(from); |
| 4894 | } |
| 4895 | return *this; |
| 4896 | } |
| 4897 | #endif |
| 4898 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 4899 | return _internal_metadata_.unknown_fields(); |
| 4900 | } |
| 4901 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 4902 | return _internal_metadata_.mutable_unknown_fields(); |
| 4903 | } |
| 4904 | |
| 4905 | inline ::google::protobuf::Arena* GetArena() const final { |
| 4906 | return GetArenaNoVirtual(); |
| 4907 | } |
| 4908 | inline void* GetMaybeArenaPointer() const final { |
| 4909 | return MaybeArenaPtr(); |
| 4910 | } |
| 4911 | static const ::google::protobuf::Descriptor* descriptor(); |
| 4912 | static const UninterpretedOption& default_instance(); |
| 4913 | |
| 4914 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 4915 | static inline const UninterpretedOption* internal_default_instance() { |
| 4916 | return reinterpret_cast<const UninterpretedOption*>( |
| 4917 | &_UninterpretedOption_default_instance_); |
| 4918 | } |
| 4919 | static constexpr int kIndexInFileMessages = |
| 4920 | 22; |
| 4921 | |
| 4922 | void UnsafeArenaSwap(UninterpretedOption* other); |
| 4923 | void Swap(UninterpretedOption* other); |
| 4924 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { |
| 4925 | a.Swap(&b); |
| 4926 | } |
| 4927 | |
| 4928 | // implements Message ---------------------------------------------- |
| 4929 | |
| 4930 | inline UninterpretedOption* New() const final { |
| 4931 | return CreateMaybeMessage<UninterpretedOption>(NULL); |
| 4932 | } |
| 4933 | |
| 4934 | UninterpretedOption* New(::google::protobuf::Arena* arena) const final { |
| 4935 | return CreateMaybeMessage<UninterpretedOption>(arena); |
| 4936 | } |
| 4937 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 4938 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 4939 | void CopyFrom(const UninterpretedOption& from); |
| 4940 | void MergeFrom(const UninterpretedOption& from); |
| 4941 | void Clear() final; |
| 4942 | bool IsInitialized() const final; |
| 4943 | |
| 4944 | size_t ByteSizeLong() const final; |
| 4945 | bool MergePartialFromCodedStream( |
| 4946 | ::google::protobuf::io::CodedInputStream* input) final; |
| 4947 | void SerializeWithCachedSizes( |
| 4948 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 4949 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 4950 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 4951 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 4952 | |
| 4953 | private: |
| 4954 | void SharedCtor(); |
| 4955 | void SharedDtor(); |
| 4956 | void SetCachedSize(int size) const final; |
| 4957 | void InternalSwap(UninterpretedOption* other); |
| 4958 | protected: |
| 4959 | explicit UninterpretedOption(::google::protobuf::Arena* arena); |
| 4960 | private: |
| 4961 | static void ArenaDtor(void* object); |
| 4962 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 4963 | private: |
| 4964 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 4965 | return _internal_metadata_.arena(); |
| 4966 | } |
| 4967 | inline void* MaybeArenaPtr() const { |
| 4968 | return _internal_metadata_.raw_arena_ptr(); |
| 4969 | } |
| 4970 | public: |
| 4971 | |
| 4972 | ::google::protobuf::Metadata GetMetadata() const final; |
| 4973 | |
| 4974 | // nested types ---------------------------------------------------- |
| 4975 | |
| 4976 | typedef UninterpretedOption_NamePart NamePart; |
| 4977 | |
| 4978 | // accessors ------------------------------------------------------- |
| 4979 | |
| 4980 | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| 4981 | int name_size() const; |
| 4982 | void clear_name(); |
| 4983 | static const int kNameFieldNumber = 2; |
| 4984 | ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index); |
| 4985 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >* |
| 4986 | mutable_name(); |
| 4987 | const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const; |
| 4988 | ::google::protobuf::UninterpretedOption_NamePart* add_name(); |
| 4989 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >& |
| 4990 | name() const; |
| 4991 | |
| 4992 | // optional string identifier_value = 3; |
| 4993 | bool has_identifier_value() const; |
| 4994 | void clear_identifier_value(); |
| 4995 | static const int kIdentifierValueFieldNumber = 3; |
| 4996 | const ::std::string& identifier_value() const; |
| 4997 | void set_identifier_value(const ::std::string& value); |
| 4998 | #if LANG_CXX11 |
| 4999 | void set_identifier_value(::std::string&& value); |
| 5000 | #endif |
| 5001 | void set_identifier_value(const char* value); |
| 5002 | void set_identifier_value(const char* value, size_t size); |
| 5003 | ::std::string* mutable_identifier_value(); |
| 5004 | ::std::string* release_identifier_value(); |
| 5005 | void set_allocated_identifier_value(::std::string* identifier_value); |
| 5006 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5007 | " string fields are deprecated and will be removed in a" |
| 5008 | " future release." ) |
| 5009 | ::std::string* unsafe_arena_release_identifier_value(); |
| 5010 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5011 | " string fields are deprecated and will be removed in a" |
| 5012 | " future release." ) |
| 5013 | void unsafe_arena_set_allocated_identifier_value( |
| 5014 | ::std::string* identifier_value); |
| 5015 | |
| 5016 | // optional bytes string_value = 7; |
| 5017 | bool has_string_value() const; |
| 5018 | void clear_string_value(); |
| 5019 | static const int kStringValueFieldNumber = 7; |
| 5020 | const ::std::string& string_value() const; |
| 5021 | void set_string_value(const ::std::string& value); |
| 5022 | #if LANG_CXX11 |
| 5023 | void set_string_value(::std::string&& value); |
| 5024 | #endif |
| 5025 | void set_string_value(const char* value); |
| 5026 | void set_string_value(const void* value, size_t size); |
| 5027 | ::std::string* mutable_string_value(); |
| 5028 | ::std::string* release_string_value(); |
| 5029 | void set_allocated_string_value(::std::string* string_value); |
| 5030 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5031 | " string fields are deprecated and will be removed in a" |
| 5032 | " future release." ) |
| 5033 | ::std::string* unsafe_arena_release_string_value(); |
| 5034 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5035 | " string fields are deprecated and will be removed in a" |
| 5036 | " future release." ) |
| 5037 | void unsafe_arena_set_allocated_string_value( |
| 5038 | ::std::string* string_value); |
| 5039 | |
| 5040 | // optional string aggregate_value = 8; |
| 5041 | bool has_aggregate_value() const; |
| 5042 | void clear_aggregate_value(); |
| 5043 | static const int kAggregateValueFieldNumber = 8; |
| 5044 | const ::std::string& aggregate_value() const; |
| 5045 | void set_aggregate_value(const ::std::string& value); |
| 5046 | #if LANG_CXX11 |
| 5047 | void set_aggregate_value(::std::string&& value); |
| 5048 | #endif |
| 5049 | void set_aggregate_value(const char* value); |
| 5050 | void set_aggregate_value(const char* value, size_t size); |
| 5051 | ::std::string* mutable_aggregate_value(); |
| 5052 | ::std::string* release_aggregate_value(); |
| 5053 | void set_allocated_aggregate_value(::std::string* aggregate_value); |
| 5054 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5055 | " string fields are deprecated and will be removed in a" |
| 5056 | " future release." ) |
| 5057 | ::std::string* unsafe_arena_release_aggregate_value(); |
| 5058 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5059 | " string fields are deprecated and will be removed in a" |
| 5060 | " future release." ) |
| 5061 | void unsafe_arena_set_allocated_aggregate_value( |
| 5062 | ::std::string* aggregate_value); |
| 5063 | |
| 5064 | // optional uint64 positive_int_value = 4; |
| 5065 | bool has_positive_int_value() const; |
| 5066 | void clear_positive_int_value(); |
| 5067 | static const int kPositiveIntValueFieldNumber = 4; |
| 5068 | ::google::protobuf::uint64 positive_int_value() const; |
| 5069 | void set_positive_int_value(::google::protobuf::uint64 value); |
| 5070 | |
| 5071 | // optional int64 negative_int_value = 5; |
| 5072 | bool has_negative_int_value() const; |
| 5073 | void clear_negative_int_value(); |
| 5074 | static const int kNegativeIntValueFieldNumber = 5; |
| 5075 | ::google::protobuf::int64 negative_int_value() const; |
| 5076 | void set_negative_int_value(::google::protobuf::int64 value); |
| 5077 | |
| 5078 | // optional double double_value = 6; |
| 5079 | bool has_double_value() const; |
| 5080 | void clear_double_value(); |
| 5081 | static const int kDoubleValueFieldNumber = 6; |
| 5082 | double double_value() const; |
| 5083 | void set_double_value(double value); |
| 5084 | |
| 5085 | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
| 5086 | private: |
| 5087 | void set_has_identifier_value(); |
| 5088 | void clear_has_identifier_value(); |
| 5089 | void set_has_positive_int_value(); |
| 5090 | void clear_has_positive_int_value(); |
| 5091 | void set_has_negative_int_value(); |
| 5092 | void clear_has_negative_int_value(); |
| 5093 | void set_has_double_value(); |
| 5094 | void clear_has_double_value(); |
| 5095 | void set_has_string_value(); |
| 5096 | void clear_has_string_value(); |
| 5097 | void set_has_aggregate_value(); |
| 5098 | void clear_has_aggregate_value(); |
| 5099 | |
| 5100 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5101 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 5102 | typedef void InternalArenaConstructable_; |
| 5103 | typedef void DestructorSkippable_; |
| 5104 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 5105 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5106 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_; |
| 5107 | ::google::protobuf::internal::ArenaStringPtr identifier_value_; |
| 5108 | ::google::protobuf::internal::ArenaStringPtr string_value_; |
| 5109 | ::google::protobuf::internal::ArenaStringPtr aggregate_value_; |
| 5110 | ::google::protobuf::uint64 positive_int_value_; |
| 5111 | ::google::protobuf::int64 negative_int_value_; |
| 5112 | double double_value_; |
| 5113 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 5114 | }; |
| 5115 | // ------------------------------------------------------------------- |
| 5116 | |
| 5117 | class LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
| 5118 | public: |
| 5119 | SourceCodeInfo_Location(); |
| 5120 | virtual ~SourceCodeInfo_Location(); |
| 5121 | |
| 5122 | SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
| 5123 | |
| 5124 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
| 5125 | CopyFrom(from); |
| 5126 | return *this; |
| 5127 | } |
| 5128 | #if LANG_CXX11 |
| 5129 | SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
| 5130 | : SourceCodeInfo_Location() { |
| 5131 | *this = ::std::move(from); |
| 5132 | } |
| 5133 | |
| 5134 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
| 5135 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5136 | if (this != &from) InternalSwap(&from); |
| 5137 | } else { |
| 5138 | CopyFrom(from); |
| 5139 | } |
| 5140 | return *this; |
| 5141 | } |
| 5142 | #endif |
| 5143 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 5144 | return _internal_metadata_.unknown_fields(); |
| 5145 | } |
| 5146 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 5147 | return _internal_metadata_.mutable_unknown_fields(); |
| 5148 | } |
| 5149 | |
| 5150 | inline ::google::protobuf::Arena* GetArena() const final { |
| 5151 | return GetArenaNoVirtual(); |
| 5152 | } |
| 5153 | inline void* GetMaybeArenaPointer() const final { |
| 5154 | return MaybeArenaPtr(); |
| 5155 | } |
| 5156 | static const ::google::protobuf::Descriptor* descriptor(); |
| 5157 | static const SourceCodeInfo_Location& default_instance(); |
| 5158 | |
| 5159 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5160 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
| 5161 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
| 5162 | &_SourceCodeInfo_Location_default_instance_); |
| 5163 | } |
| 5164 | static constexpr int kIndexInFileMessages = |
| 5165 | 23; |
| 5166 | |
| 5167 | void UnsafeArenaSwap(SourceCodeInfo_Location* other); |
| 5168 | void Swap(SourceCodeInfo_Location* other); |
| 5169 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { |
| 5170 | a.Swap(&b); |
| 5171 | } |
| 5172 | |
| 5173 | // implements Message ---------------------------------------------- |
| 5174 | |
| 5175 | inline SourceCodeInfo_Location* New() const final { |
| 5176 | return CreateMaybeMessage<SourceCodeInfo_Location>(NULL); |
| 5177 | } |
| 5178 | |
| 5179 | SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const final { |
| 5180 | return CreateMaybeMessage<SourceCodeInfo_Location>(arena); |
| 5181 | } |
| 5182 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5183 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5184 | void CopyFrom(const SourceCodeInfo_Location& from); |
| 5185 | void MergeFrom(const SourceCodeInfo_Location& from); |
| 5186 | void Clear() final; |
| 5187 | bool IsInitialized() const final; |
| 5188 | |
| 5189 | size_t ByteSizeLong() const final; |
| 5190 | bool MergePartialFromCodedStream( |
| 5191 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5192 | void SerializeWithCachedSizes( |
| 5193 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5194 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5195 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 5196 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5197 | |
| 5198 | private: |
| 5199 | void SharedCtor(); |
| 5200 | void SharedDtor(); |
| 5201 | void SetCachedSize(int size) const final; |
| 5202 | void InternalSwap(SourceCodeInfo_Location* other); |
| 5203 | protected: |
| 5204 | explicit SourceCodeInfo_Location(::google::protobuf::Arena* arena); |
| 5205 | private: |
| 5206 | static void ArenaDtor(void* object); |
| 5207 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 5208 | private: |
| 5209 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5210 | return _internal_metadata_.arena(); |
| 5211 | } |
| 5212 | inline void* MaybeArenaPtr() const { |
| 5213 | return _internal_metadata_.raw_arena_ptr(); |
| 5214 | } |
| 5215 | public: |
| 5216 | |
| 5217 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5218 | |
| 5219 | // nested types ---------------------------------------------------- |
| 5220 | |
| 5221 | // accessors ------------------------------------------------------- |
| 5222 | |
| 5223 | // repeated int32 path = 1 [packed = true]; |
| 5224 | int path_size() const; |
| 5225 | void clear_path(); |
| 5226 | static const int kPathFieldNumber = 1; |
| 5227 | ::google::protobuf::int32 path(int index) const; |
| 5228 | void set_path(int index, ::google::protobuf::int32 value); |
| 5229 | void add_path(::google::protobuf::int32 value); |
| 5230 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 5231 | path() const; |
| 5232 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 5233 | mutable_path(); |
| 5234 | |
| 5235 | // repeated int32 span = 2 [packed = true]; |
| 5236 | int span_size() const; |
| 5237 | void clear_span(); |
| 5238 | static const int kSpanFieldNumber = 2; |
| 5239 | ::google::protobuf::int32 span(int index) const; |
| 5240 | void set_span(int index, ::google::protobuf::int32 value); |
| 5241 | void add_span(::google::protobuf::int32 value); |
| 5242 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 5243 | span() const; |
| 5244 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 5245 | mutable_span(); |
| 5246 | |
| 5247 | // repeated string leading_detached_comments = 6; |
| 5248 | int leading_detached_comments_size() const; |
| 5249 | void clear_leading_detached_comments(); |
| 5250 | static const int = 6; |
| 5251 | const ::std::string& leading_detached_comments(int index) const; |
| 5252 | ::std::string* mutable_leading_detached_comments(int index); |
| 5253 | void set_leading_detached_comments(int index, const ::std::string& value); |
| 5254 | #if LANG_CXX11 |
| 5255 | void set_leading_detached_comments(int index, ::std::string&& value); |
| 5256 | #endif |
| 5257 | void set_leading_detached_comments(int index, const char* value); |
| 5258 | void set_leading_detached_comments(int index, const char* value, size_t size); |
| 5259 | ::std::string* add_leading_detached_comments(); |
| 5260 | void add_leading_detached_comments(const ::std::string& value); |
| 5261 | #if LANG_CXX11 |
| 5262 | void add_leading_detached_comments(::std::string&& value); |
| 5263 | #endif |
| 5264 | void add_leading_detached_comments(const char* value); |
| 5265 | void add_leading_detached_comments(const char* value, size_t size); |
| 5266 | const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_comments() const; |
| 5267 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached_comments(); |
| 5268 | |
| 5269 | // optional string leading_comments = 3; |
| 5270 | bool has_leading_comments() const; |
| 5271 | void clear_leading_comments(); |
| 5272 | static const int = 3; |
| 5273 | const ::std::string& leading_comments() const; |
| 5274 | void set_leading_comments(const ::std::string& value); |
| 5275 | #if LANG_CXX11 |
| 5276 | void set_leading_comments(::std::string&& value); |
| 5277 | #endif |
| 5278 | void set_leading_comments(const char* value); |
| 5279 | void set_leading_comments(const char* value, size_t size); |
| 5280 | ::std::string* mutable_leading_comments(); |
| 5281 | ::std::string* release_leading_comments(); |
| 5282 | void set_allocated_leading_comments(::std::string* ); |
| 5283 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5284 | " string fields are deprecated and will be removed in a" |
| 5285 | " future release." ) |
| 5286 | ::std::string* unsafe_arena_release_leading_comments(); |
| 5287 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5288 | " string fields are deprecated and will be removed in a" |
| 5289 | " future release." ) |
| 5290 | void unsafe_arena_set_allocated_leading_comments( |
| 5291 | ::std::string* ); |
| 5292 | |
| 5293 | // optional string trailing_comments = 4; |
| 5294 | bool has_trailing_comments() const; |
| 5295 | void clear_trailing_comments(); |
| 5296 | static const int = 4; |
| 5297 | const ::std::string& trailing_comments() const; |
| 5298 | void set_trailing_comments(const ::std::string& value); |
| 5299 | #if LANG_CXX11 |
| 5300 | void set_trailing_comments(::std::string&& value); |
| 5301 | #endif |
| 5302 | void set_trailing_comments(const char* value); |
| 5303 | void set_trailing_comments(const char* value, size_t size); |
| 5304 | ::std::string* mutable_trailing_comments(); |
| 5305 | ::std::string* release_trailing_comments(); |
| 5306 | void set_allocated_trailing_comments(::std::string* ); |
| 5307 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5308 | " string fields are deprecated and will be removed in a" |
| 5309 | " future release." ) |
| 5310 | ::std::string* unsafe_arena_release_trailing_comments(); |
| 5311 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5312 | " string fields are deprecated and will be removed in a" |
| 5313 | " future release." ) |
| 5314 | void unsafe_arena_set_allocated_trailing_comments( |
| 5315 | ::std::string* ); |
| 5316 | |
| 5317 | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
| 5318 | private: |
| 5319 | void set_has_leading_comments(); |
| 5320 | void clear_has_leading_comments(); |
| 5321 | void set_has_trailing_comments(); |
| 5322 | void clear_has_trailing_comments(); |
| 5323 | |
| 5324 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5325 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 5326 | typedef void InternalArenaConstructable_; |
| 5327 | typedef void DestructorSkippable_; |
| 5328 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 5329 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5330 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
| 5331 | mutable int _path_cached_byte_size_; |
| 5332 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_; |
| 5333 | mutable int _span_cached_byte_size_; |
| 5334 | ::google::protobuf::RepeatedPtrField< ::std::string> ; |
| 5335 | ::google::protobuf::internal::ArenaStringPtr ; |
| 5336 | ::google::protobuf::internal::ArenaStringPtr ; |
| 5337 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 5338 | }; |
| 5339 | // ------------------------------------------------------------------- |
| 5340 | |
| 5341 | class LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
| 5342 | public: |
| 5343 | SourceCodeInfo(); |
| 5344 | virtual ~SourceCodeInfo(); |
| 5345 | |
| 5346 | SourceCodeInfo(const SourceCodeInfo& from); |
| 5347 | |
| 5348 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
| 5349 | CopyFrom(from); |
| 5350 | return *this; |
| 5351 | } |
| 5352 | #if LANG_CXX11 |
| 5353 | SourceCodeInfo(SourceCodeInfo&& from) noexcept |
| 5354 | : SourceCodeInfo() { |
| 5355 | *this = ::std::move(from); |
| 5356 | } |
| 5357 | |
| 5358 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
| 5359 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5360 | if (this != &from) InternalSwap(&from); |
| 5361 | } else { |
| 5362 | CopyFrom(from); |
| 5363 | } |
| 5364 | return *this; |
| 5365 | } |
| 5366 | #endif |
| 5367 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 5368 | return _internal_metadata_.unknown_fields(); |
| 5369 | } |
| 5370 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 5371 | return _internal_metadata_.mutable_unknown_fields(); |
| 5372 | } |
| 5373 | |
| 5374 | inline ::google::protobuf::Arena* GetArena() const final { |
| 5375 | return GetArenaNoVirtual(); |
| 5376 | } |
| 5377 | inline void* GetMaybeArenaPointer() const final { |
| 5378 | return MaybeArenaPtr(); |
| 5379 | } |
| 5380 | static const ::google::protobuf::Descriptor* descriptor(); |
| 5381 | static const SourceCodeInfo& default_instance(); |
| 5382 | |
| 5383 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5384 | static inline const SourceCodeInfo* internal_default_instance() { |
| 5385 | return reinterpret_cast<const SourceCodeInfo*>( |
| 5386 | &_SourceCodeInfo_default_instance_); |
| 5387 | } |
| 5388 | static constexpr int kIndexInFileMessages = |
| 5389 | 24; |
| 5390 | |
| 5391 | void UnsafeArenaSwap(SourceCodeInfo* other); |
| 5392 | void Swap(SourceCodeInfo* other); |
| 5393 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { |
| 5394 | a.Swap(&b); |
| 5395 | } |
| 5396 | |
| 5397 | // implements Message ---------------------------------------------- |
| 5398 | |
| 5399 | inline SourceCodeInfo* New() const final { |
| 5400 | return CreateMaybeMessage<SourceCodeInfo>(NULL); |
| 5401 | } |
| 5402 | |
| 5403 | SourceCodeInfo* New(::google::protobuf::Arena* arena) const final { |
| 5404 | return CreateMaybeMessage<SourceCodeInfo>(arena); |
| 5405 | } |
| 5406 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5407 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5408 | void CopyFrom(const SourceCodeInfo& from); |
| 5409 | void MergeFrom(const SourceCodeInfo& from); |
| 5410 | void Clear() final; |
| 5411 | bool IsInitialized() const final; |
| 5412 | |
| 5413 | size_t ByteSizeLong() const final; |
| 5414 | bool MergePartialFromCodedStream( |
| 5415 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5416 | void SerializeWithCachedSizes( |
| 5417 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5418 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5419 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 5420 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5421 | |
| 5422 | private: |
| 5423 | void SharedCtor(); |
| 5424 | void SharedDtor(); |
| 5425 | void SetCachedSize(int size) const final; |
| 5426 | void InternalSwap(SourceCodeInfo* other); |
| 5427 | protected: |
| 5428 | explicit SourceCodeInfo(::google::protobuf::Arena* arena); |
| 5429 | private: |
| 5430 | static void ArenaDtor(void* object); |
| 5431 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 5432 | private: |
| 5433 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5434 | return _internal_metadata_.arena(); |
| 5435 | } |
| 5436 | inline void* MaybeArenaPtr() const { |
| 5437 | return _internal_metadata_.raw_arena_ptr(); |
| 5438 | } |
| 5439 | public: |
| 5440 | |
| 5441 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5442 | |
| 5443 | // nested types ---------------------------------------------------- |
| 5444 | |
| 5445 | typedef SourceCodeInfo_Location Location; |
| 5446 | |
| 5447 | // accessors ------------------------------------------------------- |
| 5448 | |
| 5449 | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
| 5450 | int location_size() const; |
| 5451 | void clear_location(); |
| 5452 | static const int kLocationFieldNumber = 1; |
| 5453 | ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index); |
| 5454 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >* |
| 5455 | mutable_location(); |
| 5456 | const ::google::protobuf::SourceCodeInfo_Location& location(int index) const; |
| 5457 | ::google::protobuf::SourceCodeInfo_Location* add_location(); |
| 5458 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >& |
| 5459 | location() const; |
| 5460 | |
| 5461 | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
| 5462 | private: |
| 5463 | |
| 5464 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5465 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 5466 | typedef void InternalArenaConstructable_; |
| 5467 | typedef void DestructorSkippable_; |
| 5468 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 5469 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5470 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_; |
| 5471 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 5472 | }; |
| 5473 | // ------------------------------------------------------------------- |
| 5474 | |
| 5475 | class LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
| 5476 | public: |
| 5477 | GeneratedCodeInfo_Annotation(); |
| 5478 | virtual ~GeneratedCodeInfo_Annotation(); |
| 5479 | |
| 5480 | GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
| 5481 | |
| 5482 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
| 5483 | CopyFrom(from); |
| 5484 | return *this; |
| 5485 | } |
| 5486 | #if LANG_CXX11 |
| 5487 | GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
| 5488 | : GeneratedCodeInfo_Annotation() { |
| 5489 | *this = ::std::move(from); |
| 5490 | } |
| 5491 | |
| 5492 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
| 5493 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5494 | if (this != &from) InternalSwap(&from); |
| 5495 | } else { |
| 5496 | CopyFrom(from); |
| 5497 | } |
| 5498 | return *this; |
| 5499 | } |
| 5500 | #endif |
| 5501 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 5502 | return _internal_metadata_.unknown_fields(); |
| 5503 | } |
| 5504 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 5505 | return _internal_metadata_.mutable_unknown_fields(); |
| 5506 | } |
| 5507 | |
| 5508 | inline ::google::protobuf::Arena* GetArena() const final { |
| 5509 | return GetArenaNoVirtual(); |
| 5510 | } |
| 5511 | inline void* GetMaybeArenaPointer() const final { |
| 5512 | return MaybeArenaPtr(); |
| 5513 | } |
| 5514 | static const ::google::protobuf::Descriptor* descriptor(); |
| 5515 | static const GeneratedCodeInfo_Annotation& default_instance(); |
| 5516 | |
| 5517 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5518 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
| 5519 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
| 5520 | &_GeneratedCodeInfo_Annotation_default_instance_); |
| 5521 | } |
| 5522 | static constexpr int kIndexInFileMessages = |
| 5523 | 25; |
| 5524 | |
| 5525 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other); |
| 5526 | void Swap(GeneratedCodeInfo_Annotation* other); |
| 5527 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { |
| 5528 | a.Swap(&b); |
| 5529 | } |
| 5530 | |
| 5531 | // implements Message ---------------------------------------------- |
| 5532 | |
| 5533 | inline GeneratedCodeInfo_Annotation* New() const final { |
| 5534 | return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(NULL); |
| 5535 | } |
| 5536 | |
| 5537 | GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const final { |
| 5538 | return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena); |
| 5539 | } |
| 5540 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5541 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5542 | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
| 5543 | void MergeFrom(const GeneratedCodeInfo_Annotation& from); |
| 5544 | void Clear() final; |
| 5545 | bool IsInitialized() const final; |
| 5546 | |
| 5547 | size_t ByteSizeLong() const final; |
| 5548 | bool MergePartialFromCodedStream( |
| 5549 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5550 | void SerializeWithCachedSizes( |
| 5551 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5552 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5553 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 5554 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5555 | |
| 5556 | private: |
| 5557 | void SharedCtor(); |
| 5558 | void SharedDtor(); |
| 5559 | void SetCachedSize(int size) const final; |
| 5560 | void InternalSwap(GeneratedCodeInfo_Annotation* other); |
| 5561 | protected: |
| 5562 | explicit GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena); |
| 5563 | private: |
| 5564 | static void ArenaDtor(void* object); |
| 5565 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 5566 | private: |
| 5567 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5568 | return _internal_metadata_.arena(); |
| 5569 | } |
| 5570 | inline void* MaybeArenaPtr() const { |
| 5571 | return _internal_metadata_.raw_arena_ptr(); |
| 5572 | } |
| 5573 | public: |
| 5574 | |
| 5575 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5576 | |
| 5577 | // nested types ---------------------------------------------------- |
| 5578 | |
| 5579 | // accessors ------------------------------------------------------- |
| 5580 | |
| 5581 | // repeated int32 path = 1 [packed = true]; |
| 5582 | int path_size() const; |
| 5583 | void clear_path(); |
| 5584 | static const int kPathFieldNumber = 1; |
| 5585 | ::google::protobuf::int32 path(int index) const; |
| 5586 | void set_path(int index, ::google::protobuf::int32 value); |
| 5587 | void add_path(::google::protobuf::int32 value); |
| 5588 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 5589 | path() const; |
| 5590 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 5591 | mutable_path(); |
| 5592 | |
| 5593 | // optional string source_file = 2; |
| 5594 | bool has_source_file() const; |
| 5595 | void clear_source_file(); |
| 5596 | static const int kSourceFileFieldNumber = 2; |
| 5597 | const ::std::string& source_file() const; |
| 5598 | void set_source_file(const ::std::string& value); |
| 5599 | #if LANG_CXX11 |
| 5600 | void set_source_file(::std::string&& value); |
| 5601 | #endif |
| 5602 | void set_source_file(const char* value); |
| 5603 | void set_source_file(const char* value, size_t size); |
| 5604 | ::std::string* mutable_source_file(); |
| 5605 | ::std::string* release_source_file(); |
| 5606 | void set_allocated_source_file(::std::string* source_file); |
| 5607 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5608 | " string fields are deprecated and will be removed in a" |
| 5609 | " future release." ) |
| 5610 | ::std::string* unsafe_arena_release_source_file(); |
| 5611 | PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
| 5612 | " string fields are deprecated and will be removed in a" |
| 5613 | " future release." ) |
| 5614 | void unsafe_arena_set_allocated_source_file( |
| 5615 | ::std::string* source_file); |
| 5616 | |
| 5617 | // optional int32 begin = 3; |
| 5618 | bool has_begin() const; |
| 5619 | void clear_begin(); |
| 5620 | static const int kBeginFieldNumber = 3; |
| 5621 | ::google::protobuf::int32 begin() const; |
| 5622 | void set_begin(::google::protobuf::int32 value); |
| 5623 | |
| 5624 | // optional int32 end = 4; |
| 5625 | bool has_end() const; |
| 5626 | void clear_end(); |
| 5627 | static const int kEndFieldNumber = 4; |
| 5628 | ::google::protobuf::int32 end() const; |
| 5629 | void set_end(::google::protobuf::int32 value); |
| 5630 | |
| 5631 | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
| 5632 | private: |
| 5633 | void set_has_source_file(); |
| 5634 | void clear_has_source_file(); |
| 5635 | void set_has_begin(); |
| 5636 | void clear_has_begin(); |
| 5637 | void set_has_end(); |
| 5638 | void clear_has_end(); |
| 5639 | |
| 5640 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5641 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 5642 | typedef void InternalArenaConstructable_; |
| 5643 | typedef void DestructorSkippable_; |
| 5644 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 5645 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5646 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_; |
| 5647 | mutable int _path_cached_byte_size_; |
| 5648 | ::google::protobuf::internal::ArenaStringPtr source_file_; |
| 5649 | ::google::protobuf::int32 begin_; |
| 5650 | ::google::protobuf::int32 end_; |
| 5651 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 5652 | }; |
| 5653 | // ------------------------------------------------------------------- |
| 5654 | |
| 5655 | class LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { |
| 5656 | public: |
| 5657 | GeneratedCodeInfo(); |
| 5658 | virtual ~GeneratedCodeInfo(); |
| 5659 | |
| 5660 | GeneratedCodeInfo(const GeneratedCodeInfo& from); |
| 5661 | |
| 5662 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
| 5663 | CopyFrom(from); |
| 5664 | return *this; |
| 5665 | } |
| 5666 | #if LANG_CXX11 |
| 5667 | GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
| 5668 | : GeneratedCodeInfo() { |
| 5669 | *this = ::std::move(from); |
| 5670 | } |
| 5671 | |
| 5672 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
| 5673 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
| 5674 | if (this != &from) InternalSwap(&from); |
| 5675 | } else { |
| 5676 | CopyFrom(from); |
| 5677 | } |
| 5678 | return *this; |
| 5679 | } |
| 5680 | #endif |
| 5681 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
| 5682 | return _internal_metadata_.unknown_fields(); |
| 5683 | } |
| 5684 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
| 5685 | return _internal_metadata_.mutable_unknown_fields(); |
| 5686 | } |
| 5687 | |
| 5688 | inline ::google::protobuf::Arena* GetArena() const final { |
| 5689 | return GetArenaNoVirtual(); |
| 5690 | } |
| 5691 | inline void* GetMaybeArenaPointer() const final { |
| 5692 | return MaybeArenaPtr(); |
| 5693 | } |
| 5694 | static const ::google::protobuf::Descriptor* descriptor(); |
| 5695 | static const GeneratedCodeInfo& default_instance(); |
| 5696 | |
| 5697 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
| 5698 | static inline const GeneratedCodeInfo* internal_default_instance() { |
| 5699 | return reinterpret_cast<const GeneratedCodeInfo*>( |
| 5700 | &_GeneratedCodeInfo_default_instance_); |
| 5701 | } |
| 5702 | static constexpr int kIndexInFileMessages = |
| 5703 | 26; |
| 5704 | |
| 5705 | void UnsafeArenaSwap(GeneratedCodeInfo* other); |
| 5706 | void Swap(GeneratedCodeInfo* other); |
| 5707 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { |
| 5708 | a.Swap(&b); |
| 5709 | } |
| 5710 | |
| 5711 | // implements Message ---------------------------------------------- |
| 5712 | |
| 5713 | inline GeneratedCodeInfo* New() const final { |
| 5714 | return CreateMaybeMessage<GeneratedCodeInfo>(NULL); |
| 5715 | } |
| 5716 | |
| 5717 | GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const final { |
| 5718 | return CreateMaybeMessage<GeneratedCodeInfo>(arena); |
| 5719 | } |
| 5720 | void CopyFrom(const ::google::protobuf::Message& from) final; |
| 5721 | void MergeFrom(const ::google::protobuf::Message& from) final; |
| 5722 | void CopyFrom(const GeneratedCodeInfo& from); |
| 5723 | void MergeFrom(const GeneratedCodeInfo& from); |
| 5724 | void Clear() final; |
| 5725 | bool IsInitialized() const final; |
| 5726 | |
| 5727 | size_t ByteSizeLong() const final; |
| 5728 | bool MergePartialFromCodedStream( |
| 5729 | ::google::protobuf::io::CodedInputStream* input) final; |
| 5730 | void SerializeWithCachedSizes( |
| 5731 | ::google::protobuf::io::CodedOutputStream* output) const final; |
| 5732 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
| 5733 | bool deterministic, ::google::protobuf::uint8* target) const final; |
| 5734 | int GetCachedSize() const final { return _cached_size_.Get(); } |
| 5735 | |
| 5736 | private: |
| 5737 | void SharedCtor(); |
| 5738 | void SharedDtor(); |
| 5739 | void SetCachedSize(int size) const final; |
| 5740 | void InternalSwap(GeneratedCodeInfo* other); |
| 5741 | protected: |
| 5742 | explicit GeneratedCodeInfo(::google::protobuf::Arena* arena); |
| 5743 | private: |
| 5744 | static void ArenaDtor(void* object); |
| 5745 | inline void RegisterArenaDtor(::google::protobuf::Arena* arena); |
| 5746 | private: |
| 5747 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
| 5748 | return _internal_metadata_.arena(); |
| 5749 | } |
| 5750 | inline void* MaybeArenaPtr() const { |
| 5751 | return _internal_metadata_.raw_arena_ptr(); |
| 5752 | } |
| 5753 | public: |
| 5754 | |
| 5755 | ::google::protobuf::Metadata GetMetadata() const final; |
| 5756 | |
| 5757 | // nested types ---------------------------------------------------- |
| 5758 | |
| 5759 | typedef GeneratedCodeInfo_Annotation Annotation; |
| 5760 | |
| 5761 | // accessors ------------------------------------------------------- |
| 5762 | |
| 5763 | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
| 5764 | int annotation_size() const; |
| 5765 | void clear_annotation(); |
| 5766 | static const int kAnnotationFieldNumber = 1; |
| 5767 | ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index); |
| 5768 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >* |
| 5769 | mutable_annotation(); |
| 5770 | const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const; |
| 5771 | ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation(); |
| 5772 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >& |
| 5773 | annotation() const; |
| 5774 | |
| 5775 | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
| 5776 | private: |
| 5777 | |
| 5778 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
| 5779 | template <typename T> friend class ::google::protobuf::Arena::InternalHelper; |
| 5780 | typedef void InternalArenaConstructable_; |
| 5781 | typedef void DestructorSkippable_; |
| 5782 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
| 5783 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 5784 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_; |
| 5785 | friend struct ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::TableStruct; |
| 5786 | }; |
| 5787 | // =================================================================== |
| 5788 | |
| 5789 | |
| 5790 | // =================================================================== |
| 5791 | |
| 5792 | #ifdef __GNUC__ |
| 5793 | #pragma GCC diagnostic push |
| 5794 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 5795 | #endif // __GNUC__ |
| 5796 | // FileDescriptorSet |
| 5797 | |
| 5798 | // repeated .google.protobuf.FileDescriptorProto file = 1; |
| 5799 | inline int FileDescriptorSet::file_size() const { |
| 5800 | return file_.size(); |
| 5801 | } |
| 5802 | inline void FileDescriptorSet::clear_file() { |
| 5803 | file_.Clear(); |
| 5804 | } |
| 5805 | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) { |
| 5806 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
| 5807 | return file_.Mutable(index); |
| 5808 | } |
| 5809 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* |
| 5810 | FileDescriptorSet::mutable_file() { |
| 5811 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
| 5812 | return &file_; |
| 5813 | } |
| 5814 | inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const { |
| 5815 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
| 5816 | return file_.Get(index); |
| 5817 | } |
| 5818 | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() { |
| 5819 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
| 5820 | return file_.Add(); |
| 5821 | } |
| 5822 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& |
| 5823 | FileDescriptorSet::file() const { |
| 5824 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
| 5825 | return file_; |
| 5826 | } |
| 5827 | |
| 5828 | // ------------------------------------------------------------------- |
| 5829 | |
| 5830 | // FileDescriptorProto |
| 5831 | |
| 5832 | // optional string name = 1; |
| 5833 | inline bool FileDescriptorProto::has_name() const { |
| 5834 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 5835 | } |
| 5836 | inline void FileDescriptorProto::set_has_name() { |
| 5837 | _has_bits_[0] |= 0x00000001u; |
| 5838 | } |
| 5839 | inline void FileDescriptorProto::clear_has_name() { |
| 5840 | _has_bits_[0] &= ~0x00000001u; |
| 5841 | } |
| 5842 | inline void FileDescriptorProto::clear_name() { |
| 5843 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5844 | clear_has_name(); |
| 5845 | } |
| 5846 | inline const ::std::string& FileDescriptorProto::name() const { |
| 5847 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
| 5848 | return name_.Get(); |
| 5849 | } |
| 5850 | inline void FileDescriptorProto::set_name(const ::std::string& value) { |
| 5851 | set_has_name(); |
| 5852 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 5853 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
| 5854 | } |
| 5855 | #if LANG_CXX11 |
| 5856 | inline void FileDescriptorProto::set_name(::std::string&& value) { |
| 5857 | set_has_name(); |
| 5858 | name_.Set( |
| 5859 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 5860 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.name) |
| 5861 | } |
| 5862 | #endif |
| 5863 | inline void FileDescriptorProto::set_name(const char* value) { |
| 5864 | GOOGLE_DCHECK(value != NULL); |
| 5865 | set_has_name(); |
| 5866 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 5867 | GetArenaNoVirtual()); |
| 5868 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name) |
| 5869 | } |
| 5870 | inline void FileDescriptorProto::set_name(const char* value, |
| 5871 | size_t size) { |
| 5872 | set_has_name(); |
| 5873 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 5874 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 5875 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name) |
| 5876 | } |
| 5877 | inline ::std::string* FileDescriptorProto::mutable_name() { |
| 5878 | set_has_name(); |
| 5879 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
| 5880 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5881 | } |
| 5882 | inline ::std::string* FileDescriptorProto::release_name() { |
| 5883 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
| 5884 | if (!has_name()) { |
| 5885 | return NULL; |
| 5886 | } |
| 5887 | clear_has_name(); |
| 5888 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5889 | } |
| 5890 | inline void FileDescriptorProto::set_allocated_name(::std::string* name) { |
| 5891 | if (name != NULL) { |
| 5892 | set_has_name(); |
| 5893 | } else { |
| 5894 | clear_has_name(); |
| 5895 | } |
| 5896 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 5897 | GetArenaNoVirtual()); |
| 5898 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
| 5899 | } |
| 5900 | inline ::std::string* FileDescriptorProto::unsafe_arena_release_name() { |
| 5901 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.name) |
| 5902 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 5903 | clear_has_name(); |
| 5904 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5905 | GetArenaNoVirtual()); |
| 5906 | } |
| 5907 | inline void FileDescriptorProto::unsafe_arena_set_allocated_name( |
| 5908 | ::std::string* name) { |
| 5909 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 5910 | if (name != NULL) { |
| 5911 | set_has_name(); |
| 5912 | } else { |
| 5913 | clear_has_name(); |
| 5914 | } |
| 5915 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5916 | name, GetArenaNoVirtual()); |
| 5917 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.name) |
| 5918 | } |
| 5919 | |
| 5920 | // optional string package = 2; |
| 5921 | inline bool FileDescriptorProto::has_package() const { |
| 5922 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 5923 | } |
| 5924 | inline void FileDescriptorProto::set_has_package() { |
| 5925 | _has_bits_[0] |= 0x00000002u; |
| 5926 | } |
| 5927 | inline void FileDescriptorProto::clear_has_package() { |
| 5928 | _has_bits_[0] &= ~0x00000002u; |
| 5929 | } |
| 5930 | inline void FileDescriptorProto::clear_package() { |
| 5931 | package_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5932 | clear_has_package(); |
| 5933 | } |
| 5934 | inline const ::std::string& FileDescriptorProto::package() const { |
| 5935 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
| 5936 | return package_.Get(); |
| 5937 | } |
| 5938 | inline void FileDescriptorProto::set_package(const ::std::string& value) { |
| 5939 | set_has_package(); |
| 5940 | package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 5941 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
| 5942 | } |
| 5943 | #if LANG_CXX11 |
| 5944 | inline void FileDescriptorProto::set_package(::std::string&& value) { |
| 5945 | set_has_package(); |
| 5946 | package_.Set( |
| 5947 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 5948 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.package) |
| 5949 | } |
| 5950 | #endif |
| 5951 | inline void FileDescriptorProto::set_package(const char* value) { |
| 5952 | GOOGLE_DCHECK(value != NULL); |
| 5953 | set_has_package(); |
| 5954 | package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 5955 | GetArenaNoVirtual()); |
| 5956 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package) |
| 5957 | } |
| 5958 | inline void FileDescriptorProto::set_package(const char* value, |
| 5959 | size_t size) { |
| 5960 | set_has_package(); |
| 5961 | package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 5962 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 5963 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package) |
| 5964 | } |
| 5965 | inline ::std::string* FileDescriptorProto::mutable_package() { |
| 5966 | set_has_package(); |
| 5967 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
| 5968 | return package_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5969 | } |
| 5970 | inline ::std::string* FileDescriptorProto::release_package() { |
| 5971 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
| 5972 | if (!has_package()) { |
| 5973 | return NULL; |
| 5974 | } |
| 5975 | clear_has_package(); |
| 5976 | return package_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 5977 | } |
| 5978 | inline void FileDescriptorProto::set_allocated_package(::std::string* package) { |
| 5979 | if (package != NULL) { |
| 5980 | set_has_package(); |
| 5981 | } else { |
| 5982 | clear_has_package(); |
| 5983 | } |
| 5984 | package_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), package, |
| 5985 | GetArenaNoVirtual()); |
| 5986 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
| 5987 | } |
| 5988 | inline ::std::string* FileDescriptorProto::unsafe_arena_release_package() { |
| 5989 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.package) |
| 5990 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 5991 | clear_has_package(); |
| 5992 | return package_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 5993 | GetArenaNoVirtual()); |
| 5994 | } |
| 5995 | inline void FileDescriptorProto::unsafe_arena_set_allocated_package( |
| 5996 | ::std::string* package) { |
| 5997 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 5998 | if (package != NULL) { |
| 5999 | set_has_package(); |
| 6000 | } else { |
| 6001 | clear_has_package(); |
| 6002 | } |
| 6003 | package_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6004 | package, GetArenaNoVirtual()); |
| 6005 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.package) |
| 6006 | } |
| 6007 | |
| 6008 | // repeated string dependency = 3; |
| 6009 | inline int FileDescriptorProto::dependency_size() const { |
| 6010 | return dependency_.size(); |
| 6011 | } |
| 6012 | inline void FileDescriptorProto::clear_dependency() { |
| 6013 | dependency_.Clear(); |
| 6014 | } |
| 6015 | inline const ::std::string& FileDescriptorProto::dependency(int index) const { |
| 6016 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
| 6017 | return dependency_.Get(index); |
| 6018 | } |
| 6019 | inline ::std::string* FileDescriptorProto::mutable_dependency(int index) { |
| 6020 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
| 6021 | return dependency_.Mutable(index); |
| 6022 | } |
| 6023 | inline void FileDescriptorProto::set_dependency(int index, const ::std::string& value) { |
| 6024 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
| 6025 | dependency_.Mutable(index)->assign(value); |
| 6026 | } |
| 6027 | #if LANG_CXX11 |
| 6028 | inline void FileDescriptorProto::set_dependency(int index, ::std::string&& value) { |
| 6029 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
| 6030 | dependency_.Mutable(index)->assign(std::move(value)); |
| 6031 | } |
| 6032 | #endif |
| 6033 | inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
| 6034 | GOOGLE_DCHECK(value != NULL); |
| 6035 | dependency_.Mutable(index)->assign(value); |
| 6036 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) |
| 6037 | } |
| 6038 | inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) { |
| 6039 | dependency_.Mutable(index)->assign( |
| 6040 | reinterpret_cast<const char*>(value), size); |
| 6041 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
| 6042 | } |
| 6043 | inline ::std::string* FileDescriptorProto::add_dependency() { |
| 6044 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
| 6045 | return dependency_.Add(); |
| 6046 | } |
| 6047 | inline void FileDescriptorProto::add_dependency(const ::std::string& value) { |
| 6048 | dependency_.Add()->assign(value); |
| 6049 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
| 6050 | } |
| 6051 | #if LANG_CXX11 |
| 6052 | inline void FileDescriptorProto::add_dependency(::std::string&& value) { |
| 6053 | dependency_.Add(std::move(value)); |
| 6054 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
| 6055 | } |
| 6056 | #endif |
| 6057 | inline void FileDescriptorProto::add_dependency(const char* value) { |
| 6058 | GOOGLE_DCHECK(value != NULL); |
| 6059 | dependency_.Add()->assign(value); |
| 6060 | // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) |
| 6061 | } |
| 6062 | inline void FileDescriptorProto::add_dependency(const char* value, size_t size) { |
| 6063 | dependency_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 6064 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) |
| 6065 | } |
| 6066 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 6067 | FileDescriptorProto::dependency() const { |
| 6068 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
| 6069 | return dependency_; |
| 6070 | } |
| 6071 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 6072 | FileDescriptorProto::mutable_dependency() { |
| 6073 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
| 6074 | return &dependency_; |
| 6075 | } |
| 6076 | |
| 6077 | // repeated int32 public_dependency = 10; |
| 6078 | inline int FileDescriptorProto::public_dependency_size() const { |
| 6079 | return public_dependency_.size(); |
| 6080 | } |
| 6081 | inline void FileDescriptorProto::clear_public_dependency() { |
| 6082 | public_dependency_.Clear(); |
| 6083 | } |
| 6084 | inline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const { |
| 6085 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
| 6086 | return public_dependency_.Get(index); |
| 6087 | } |
| 6088 | inline void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) { |
| 6089 | public_dependency_.Set(index, value); |
| 6090 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
| 6091 | } |
| 6092 | inline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) { |
| 6093 | public_dependency_.Add(value); |
| 6094 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
| 6095 | } |
| 6096 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 6097 | FileDescriptorProto::public_dependency() const { |
| 6098 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
| 6099 | return public_dependency_; |
| 6100 | } |
| 6101 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 6102 | FileDescriptorProto::mutable_public_dependency() { |
| 6103 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
| 6104 | return &public_dependency_; |
| 6105 | } |
| 6106 | |
| 6107 | // repeated int32 weak_dependency = 11; |
| 6108 | inline int FileDescriptorProto::weak_dependency_size() const { |
| 6109 | return weak_dependency_.size(); |
| 6110 | } |
| 6111 | inline void FileDescriptorProto::clear_weak_dependency() { |
| 6112 | weak_dependency_.Clear(); |
| 6113 | } |
| 6114 | inline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const { |
| 6115 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
| 6116 | return weak_dependency_.Get(index); |
| 6117 | } |
| 6118 | inline void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) { |
| 6119 | weak_dependency_.Set(index, value); |
| 6120 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
| 6121 | } |
| 6122 | inline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) { |
| 6123 | weak_dependency_.Add(value); |
| 6124 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
| 6125 | } |
| 6126 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 6127 | FileDescriptorProto::weak_dependency() const { |
| 6128 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
| 6129 | return weak_dependency_; |
| 6130 | } |
| 6131 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 6132 | FileDescriptorProto::mutable_weak_dependency() { |
| 6133 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
| 6134 | return &weak_dependency_; |
| 6135 | } |
| 6136 | |
| 6137 | // repeated .google.protobuf.DescriptorProto message_type = 4; |
| 6138 | inline int FileDescriptorProto::message_type_size() const { |
| 6139 | return message_type_.size(); |
| 6140 | } |
| 6141 | inline void FileDescriptorProto::clear_message_type() { |
| 6142 | message_type_.Clear(); |
| 6143 | } |
| 6144 | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) { |
| 6145 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
| 6146 | return message_type_.Mutable(index); |
| 6147 | } |
| 6148 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| 6149 | FileDescriptorProto::mutable_message_type() { |
| 6150 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
| 6151 | return &message_type_; |
| 6152 | } |
| 6153 | inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const { |
| 6154 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
| 6155 | return message_type_.Get(index); |
| 6156 | } |
| 6157 | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() { |
| 6158 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
| 6159 | return message_type_.Add(); |
| 6160 | } |
| 6161 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| 6162 | FileDescriptorProto::message_type() const { |
| 6163 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
| 6164 | return message_type_; |
| 6165 | } |
| 6166 | |
| 6167 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| 6168 | inline int FileDescriptorProto::enum_type_size() const { |
| 6169 | return enum_type_.size(); |
| 6170 | } |
| 6171 | inline void FileDescriptorProto::clear_enum_type() { |
| 6172 | enum_type_.Clear(); |
| 6173 | } |
| 6174 | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) { |
| 6175 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
| 6176 | return enum_type_.Mutable(index); |
| 6177 | } |
| 6178 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| 6179 | FileDescriptorProto::mutable_enum_type() { |
| 6180 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
| 6181 | return &enum_type_; |
| 6182 | } |
| 6183 | inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { |
| 6184 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
| 6185 | return enum_type_.Get(index); |
| 6186 | } |
| 6187 | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() { |
| 6188 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
| 6189 | return enum_type_.Add(); |
| 6190 | } |
| 6191 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| 6192 | FileDescriptorProto::enum_type() const { |
| 6193 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
| 6194 | return enum_type_; |
| 6195 | } |
| 6196 | |
| 6197 | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| 6198 | inline int FileDescriptorProto::service_size() const { |
| 6199 | return service_.size(); |
| 6200 | } |
| 6201 | inline void FileDescriptorProto::clear_service() { |
| 6202 | service_.Clear(); |
| 6203 | } |
| 6204 | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) { |
| 6205 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
| 6206 | return service_.Mutable(index); |
| 6207 | } |
| 6208 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >* |
| 6209 | FileDescriptorProto::mutable_service() { |
| 6210 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
| 6211 | return &service_; |
| 6212 | } |
| 6213 | inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const { |
| 6214 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
| 6215 | return service_.Get(index); |
| 6216 | } |
| 6217 | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() { |
| 6218 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
| 6219 | return service_.Add(); |
| 6220 | } |
| 6221 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >& |
| 6222 | FileDescriptorProto::service() const { |
| 6223 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
| 6224 | return service_; |
| 6225 | } |
| 6226 | |
| 6227 | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| 6228 | inline int FileDescriptorProto::extension_size() const { |
| 6229 | return extension_.size(); |
| 6230 | } |
| 6231 | inline void FileDescriptorProto::clear_extension() { |
| 6232 | extension_.Clear(); |
| 6233 | } |
| 6234 | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) { |
| 6235 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
| 6236 | return extension_.Mutable(index); |
| 6237 | } |
| 6238 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 6239 | FileDescriptorProto::mutable_extension() { |
| 6240 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
| 6241 | return &extension_; |
| 6242 | } |
| 6243 | inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const { |
| 6244 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
| 6245 | return extension_.Get(index); |
| 6246 | } |
| 6247 | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() { |
| 6248 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
| 6249 | return extension_.Add(); |
| 6250 | } |
| 6251 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 6252 | FileDescriptorProto::extension() const { |
| 6253 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
| 6254 | return extension_; |
| 6255 | } |
| 6256 | |
| 6257 | // optional .google.protobuf.FileOptions options = 8; |
| 6258 | inline bool FileDescriptorProto::has_options() const { |
| 6259 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 6260 | } |
| 6261 | inline void FileDescriptorProto::set_has_options() { |
| 6262 | _has_bits_[0] |= 0x00000008u; |
| 6263 | } |
| 6264 | inline void FileDescriptorProto::clear_has_options() { |
| 6265 | _has_bits_[0] &= ~0x00000008u; |
| 6266 | } |
| 6267 | inline void FileDescriptorProto::clear_options() { |
| 6268 | if (options_ != NULL) options_->Clear(); |
| 6269 | clear_has_options(); |
| 6270 | } |
| 6271 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::_internal_options() const { |
| 6272 | return *options_; |
| 6273 | } |
| 6274 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const { |
| 6275 | const ::google::protobuf::FileOptions* p = options_; |
| 6276 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
| 6277 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::FileOptions*>( |
| 6278 | &::google::protobuf::_FileOptions_default_instance_); |
| 6279 | } |
| 6280 | inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
| 6281 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
| 6282 | clear_has_options(); |
| 6283 | ::google::protobuf::FileOptions* temp = options_; |
| 6284 | if (GetArenaNoVirtual() != NULL) { |
| 6285 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 6286 | } |
| 6287 | options_ = NULL; |
| 6288 | return temp; |
| 6289 | } |
| 6290 | inline ::google::protobuf::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
| 6291 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.options) |
| 6292 | clear_has_options(); |
| 6293 | ::google::protobuf::FileOptions* temp = options_; |
| 6294 | options_ = NULL; |
| 6295 | return temp; |
| 6296 | } |
| 6297 | inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() { |
| 6298 | set_has_options(); |
| 6299 | if (options_ == NULL) { |
| 6300 | auto* p = CreateMaybeMessage<::google::protobuf::FileOptions>(GetArenaNoVirtual()); |
| 6301 | options_ = p; |
| 6302 | } |
| 6303 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
| 6304 | return options_; |
| 6305 | } |
| 6306 | inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) { |
| 6307 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6308 | if (message_arena == NULL) { |
| 6309 | delete options_; |
| 6310 | } |
| 6311 | if (options) { |
| 6312 | ::google::protobuf::Arena* submessage_arena = |
| 6313 | ::google::protobuf::Arena::GetArena(options); |
| 6314 | if (message_arena != submessage_arena) { |
| 6315 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 6316 | message_arena, options, submessage_arena); |
| 6317 | } |
| 6318 | set_has_options(); |
| 6319 | } else { |
| 6320 | clear_has_options(); |
| 6321 | } |
| 6322 | options_ = options; |
| 6323 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
| 6324 | } |
| 6325 | |
| 6326 | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| 6327 | inline bool FileDescriptorProto::has_source_code_info() const { |
| 6328 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 6329 | } |
| 6330 | inline void FileDescriptorProto::set_has_source_code_info() { |
| 6331 | _has_bits_[0] |= 0x00000010u; |
| 6332 | } |
| 6333 | inline void FileDescriptorProto::clear_has_source_code_info() { |
| 6334 | _has_bits_[0] &= ~0x00000010u; |
| 6335 | } |
| 6336 | inline void FileDescriptorProto::clear_source_code_info() { |
| 6337 | if (source_code_info_ != NULL) source_code_info_->Clear(); |
| 6338 | clear_has_source_code_info(); |
| 6339 | } |
| 6340 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
| 6341 | return *source_code_info_; |
| 6342 | } |
| 6343 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const { |
| 6344 | const ::google::protobuf::SourceCodeInfo* p = source_code_info_; |
| 6345 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
| 6346 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceCodeInfo*>( |
| 6347 | &::google::protobuf::_SourceCodeInfo_default_instance_); |
| 6348 | } |
| 6349 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
| 6350 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
| 6351 | clear_has_source_code_info(); |
| 6352 | ::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
| 6353 | if (GetArenaNoVirtual() != NULL) { |
| 6354 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 6355 | } |
| 6356 | source_code_info_ = NULL; |
| 6357 | return temp; |
| 6358 | } |
| 6359 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
| 6360 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.source_code_info) |
| 6361 | clear_has_source_code_info(); |
| 6362 | ::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
| 6363 | source_code_info_ = NULL; |
| 6364 | return temp; |
| 6365 | } |
| 6366 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() { |
| 6367 | set_has_source_code_info(); |
| 6368 | if (source_code_info_ == NULL) { |
| 6369 | auto* p = CreateMaybeMessage<::google::protobuf::SourceCodeInfo>(GetArenaNoVirtual()); |
| 6370 | source_code_info_ = p; |
| 6371 | } |
| 6372 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
| 6373 | return source_code_info_; |
| 6374 | } |
| 6375 | inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) { |
| 6376 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6377 | if (message_arena == NULL) { |
| 6378 | delete source_code_info_; |
| 6379 | } |
| 6380 | if (source_code_info) { |
| 6381 | ::google::protobuf::Arena* submessage_arena = |
| 6382 | ::google::protobuf::Arena::GetArena(source_code_info); |
| 6383 | if (message_arena != submessage_arena) { |
| 6384 | source_code_info = ::google::protobuf::internal::GetOwnedMessage( |
| 6385 | message_arena, source_code_info, submessage_arena); |
| 6386 | } |
| 6387 | set_has_source_code_info(); |
| 6388 | } else { |
| 6389 | clear_has_source_code_info(); |
| 6390 | } |
| 6391 | source_code_info_ = source_code_info; |
| 6392 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
| 6393 | } |
| 6394 | |
| 6395 | // optional string syntax = 12; |
| 6396 | inline bool FileDescriptorProto::has_syntax() const { |
| 6397 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 6398 | } |
| 6399 | inline void FileDescriptorProto::set_has_syntax() { |
| 6400 | _has_bits_[0] |= 0x00000004u; |
| 6401 | } |
| 6402 | inline void FileDescriptorProto::clear_has_syntax() { |
| 6403 | _has_bits_[0] &= ~0x00000004u; |
| 6404 | } |
| 6405 | inline void FileDescriptorProto::clear_syntax() { |
| 6406 | syntax_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6407 | clear_has_syntax(); |
| 6408 | } |
| 6409 | inline const ::std::string& FileDescriptorProto::syntax() const { |
| 6410 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
| 6411 | return syntax_.Get(); |
| 6412 | } |
| 6413 | inline void FileDescriptorProto::set_syntax(const ::std::string& value) { |
| 6414 | set_has_syntax(); |
| 6415 | syntax_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 6416 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
| 6417 | } |
| 6418 | #if LANG_CXX11 |
| 6419 | inline void FileDescriptorProto::set_syntax(::std::string&& value) { |
| 6420 | set_has_syntax(); |
| 6421 | syntax_.Set( |
| 6422 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 6423 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileDescriptorProto.syntax) |
| 6424 | } |
| 6425 | #endif |
| 6426 | inline void FileDescriptorProto::set_syntax(const char* value) { |
| 6427 | GOOGLE_DCHECK(value != NULL); |
| 6428 | set_has_syntax(); |
| 6429 | syntax_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 6430 | GetArenaNoVirtual()); |
| 6431 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax) |
| 6432 | } |
| 6433 | inline void FileDescriptorProto::set_syntax(const char* value, |
| 6434 | size_t size) { |
| 6435 | set_has_syntax(); |
| 6436 | syntax_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 6437 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 6438 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax) |
| 6439 | } |
| 6440 | inline ::std::string* FileDescriptorProto::mutable_syntax() { |
| 6441 | set_has_syntax(); |
| 6442 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
| 6443 | return syntax_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6444 | } |
| 6445 | inline ::std::string* FileDescriptorProto::release_syntax() { |
| 6446 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
| 6447 | if (!has_syntax()) { |
| 6448 | return NULL; |
| 6449 | } |
| 6450 | clear_has_syntax(); |
| 6451 | return syntax_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6452 | } |
| 6453 | inline void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) { |
| 6454 | if (syntax != NULL) { |
| 6455 | set_has_syntax(); |
| 6456 | } else { |
| 6457 | clear_has_syntax(); |
| 6458 | } |
| 6459 | syntax_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), syntax, |
| 6460 | GetArenaNoVirtual()); |
| 6461 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
| 6462 | } |
| 6463 | inline ::std::string* FileDescriptorProto::unsafe_arena_release_syntax() { |
| 6464 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileDescriptorProto.syntax) |
| 6465 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 6466 | clear_has_syntax(); |
| 6467 | return syntax_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6468 | GetArenaNoVirtual()); |
| 6469 | } |
| 6470 | inline void FileDescriptorProto::unsafe_arena_set_allocated_syntax( |
| 6471 | ::std::string* syntax) { |
| 6472 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 6473 | if (syntax != NULL) { |
| 6474 | set_has_syntax(); |
| 6475 | } else { |
| 6476 | clear_has_syntax(); |
| 6477 | } |
| 6478 | syntax_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6479 | syntax, GetArenaNoVirtual()); |
| 6480 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
| 6481 | } |
| 6482 | |
| 6483 | // ------------------------------------------------------------------- |
| 6484 | |
| 6485 | // DescriptorProto_ExtensionRange |
| 6486 | |
| 6487 | // optional int32 start = 1; |
| 6488 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
| 6489 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 6490 | } |
| 6491 | inline void DescriptorProto_ExtensionRange::set_has_start() { |
| 6492 | _has_bits_[0] |= 0x00000002u; |
| 6493 | } |
| 6494 | inline void DescriptorProto_ExtensionRange::clear_has_start() { |
| 6495 | _has_bits_[0] &= ~0x00000002u; |
| 6496 | } |
| 6497 | inline void DescriptorProto_ExtensionRange::clear_start() { |
| 6498 | start_ = 0; |
| 6499 | clear_has_start(); |
| 6500 | } |
| 6501 | inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const { |
| 6502 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
| 6503 | return start_; |
| 6504 | } |
| 6505 | inline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) { |
| 6506 | set_has_start(); |
| 6507 | start_ = value; |
| 6508 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
| 6509 | } |
| 6510 | |
| 6511 | // optional int32 end = 2; |
| 6512 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
| 6513 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 6514 | } |
| 6515 | inline void DescriptorProto_ExtensionRange::set_has_end() { |
| 6516 | _has_bits_[0] |= 0x00000004u; |
| 6517 | } |
| 6518 | inline void DescriptorProto_ExtensionRange::clear_has_end() { |
| 6519 | _has_bits_[0] &= ~0x00000004u; |
| 6520 | } |
| 6521 | inline void DescriptorProto_ExtensionRange::clear_end() { |
| 6522 | end_ = 0; |
| 6523 | clear_has_end(); |
| 6524 | } |
| 6525 | inline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const { |
| 6526 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
| 6527 | return end_; |
| 6528 | } |
| 6529 | inline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) { |
| 6530 | set_has_end(); |
| 6531 | end_ = value; |
| 6532 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
| 6533 | } |
| 6534 | |
| 6535 | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
| 6536 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
| 6537 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 6538 | } |
| 6539 | inline void DescriptorProto_ExtensionRange::set_has_options() { |
| 6540 | _has_bits_[0] |= 0x00000001u; |
| 6541 | } |
| 6542 | inline void DescriptorProto_ExtensionRange::clear_has_options() { |
| 6543 | _has_bits_[0] &= ~0x00000001u; |
| 6544 | } |
| 6545 | inline void DescriptorProto_ExtensionRange::clear_options() { |
| 6546 | if (options_ != NULL) options_->Clear(); |
| 6547 | clear_has_options(); |
| 6548 | } |
| 6549 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
| 6550 | return *options_; |
| 6551 | } |
| 6552 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const { |
| 6553 | const ::google::protobuf::ExtensionRangeOptions* p = options_; |
| 6554 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 6555 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ExtensionRangeOptions*>( |
| 6556 | &::google::protobuf::_ExtensionRangeOptions_default_instance_); |
| 6557 | } |
| 6558 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
| 6559 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 6560 | clear_has_options(); |
| 6561 | ::google::protobuf::ExtensionRangeOptions* temp = options_; |
| 6562 | if (GetArenaNoVirtual() != NULL) { |
| 6563 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 6564 | } |
| 6565 | options_ = NULL; |
| 6566 | return temp; |
| 6567 | } |
| 6568 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
| 6569 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 6570 | clear_has_options(); |
| 6571 | ::google::protobuf::ExtensionRangeOptions* temp = options_; |
| 6572 | options_ = NULL; |
| 6573 | return temp; |
| 6574 | } |
| 6575 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() { |
| 6576 | set_has_options(); |
| 6577 | if (options_ == NULL) { |
| 6578 | auto* p = CreateMaybeMessage<::google::protobuf::ExtensionRangeOptions>(GetArenaNoVirtual()); |
| 6579 | options_ = p; |
| 6580 | } |
| 6581 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 6582 | return options_; |
| 6583 | } |
| 6584 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::google::protobuf::ExtensionRangeOptions* options) { |
| 6585 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6586 | if (message_arena == NULL) { |
| 6587 | delete options_; |
| 6588 | } |
| 6589 | if (options) { |
| 6590 | ::google::protobuf::Arena* submessage_arena = |
| 6591 | ::google::protobuf::Arena::GetArena(options); |
| 6592 | if (message_arena != submessage_arena) { |
| 6593 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 6594 | message_arena, options, submessage_arena); |
| 6595 | } |
| 6596 | set_has_options(); |
| 6597 | } else { |
| 6598 | clear_has_options(); |
| 6599 | } |
| 6600 | options_ = options; |
| 6601 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 6602 | } |
| 6603 | |
| 6604 | // ------------------------------------------------------------------- |
| 6605 | |
| 6606 | // DescriptorProto_ReservedRange |
| 6607 | |
| 6608 | // optional int32 start = 1; |
| 6609 | inline bool DescriptorProto_ReservedRange::has_start() const { |
| 6610 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 6611 | } |
| 6612 | inline void DescriptorProto_ReservedRange::set_has_start() { |
| 6613 | _has_bits_[0] |= 0x00000001u; |
| 6614 | } |
| 6615 | inline void DescriptorProto_ReservedRange::clear_has_start() { |
| 6616 | _has_bits_[0] &= ~0x00000001u; |
| 6617 | } |
| 6618 | inline void DescriptorProto_ReservedRange::clear_start() { |
| 6619 | start_ = 0; |
| 6620 | clear_has_start(); |
| 6621 | } |
| 6622 | inline ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const { |
| 6623 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
| 6624 | return start_; |
| 6625 | } |
| 6626 | inline void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 value) { |
| 6627 | set_has_start(); |
| 6628 | start_ = value; |
| 6629 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
| 6630 | } |
| 6631 | |
| 6632 | // optional int32 end = 2; |
| 6633 | inline bool DescriptorProto_ReservedRange::has_end() const { |
| 6634 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 6635 | } |
| 6636 | inline void DescriptorProto_ReservedRange::set_has_end() { |
| 6637 | _has_bits_[0] |= 0x00000002u; |
| 6638 | } |
| 6639 | inline void DescriptorProto_ReservedRange::clear_has_end() { |
| 6640 | _has_bits_[0] &= ~0x00000002u; |
| 6641 | } |
| 6642 | inline void DescriptorProto_ReservedRange::clear_end() { |
| 6643 | end_ = 0; |
| 6644 | clear_has_end(); |
| 6645 | } |
| 6646 | inline ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const { |
| 6647 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
| 6648 | return end_; |
| 6649 | } |
| 6650 | inline void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 value) { |
| 6651 | set_has_end(); |
| 6652 | end_ = value; |
| 6653 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
| 6654 | } |
| 6655 | |
| 6656 | // ------------------------------------------------------------------- |
| 6657 | |
| 6658 | // DescriptorProto |
| 6659 | |
| 6660 | // optional string name = 1; |
| 6661 | inline bool DescriptorProto::has_name() const { |
| 6662 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 6663 | } |
| 6664 | inline void DescriptorProto::set_has_name() { |
| 6665 | _has_bits_[0] |= 0x00000001u; |
| 6666 | } |
| 6667 | inline void DescriptorProto::clear_has_name() { |
| 6668 | _has_bits_[0] &= ~0x00000001u; |
| 6669 | } |
| 6670 | inline void DescriptorProto::clear_name() { |
| 6671 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6672 | clear_has_name(); |
| 6673 | } |
| 6674 | inline const ::std::string& DescriptorProto::name() const { |
| 6675 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
| 6676 | return name_.Get(); |
| 6677 | } |
| 6678 | inline void DescriptorProto::set_name(const ::std::string& value) { |
| 6679 | set_has_name(); |
| 6680 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 6681 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
| 6682 | } |
| 6683 | #if LANG_CXX11 |
| 6684 | inline void DescriptorProto::set_name(::std::string&& value) { |
| 6685 | set_has_name(); |
| 6686 | name_.Set( |
| 6687 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 6688 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.DescriptorProto.name) |
| 6689 | } |
| 6690 | #endif |
| 6691 | inline void DescriptorProto::set_name(const char* value) { |
| 6692 | GOOGLE_DCHECK(value != NULL); |
| 6693 | set_has_name(); |
| 6694 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 6695 | GetArenaNoVirtual()); |
| 6696 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name) |
| 6697 | } |
| 6698 | inline void DescriptorProto::set_name(const char* value, |
| 6699 | size_t size) { |
| 6700 | set_has_name(); |
| 6701 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 6702 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 6703 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name) |
| 6704 | } |
| 6705 | inline ::std::string* DescriptorProto::mutable_name() { |
| 6706 | set_has_name(); |
| 6707 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
| 6708 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6709 | } |
| 6710 | inline ::std::string* DescriptorProto::release_name() { |
| 6711 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
| 6712 | if (!has_name()) { |
| 6713 | return NULL; |
| 6714 | } |
| 6715 | clear_has_name(); |
| 6716 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 6717 | } |
| 6718 | inline void DescriptorProto::set_allocated_name(::std::string* name) { |
| 6719 | if (name != NULL) { |
| 6720 | set_has_name(); |
| 6721 | } else { |
| 6722 | clear_has_name(); |
| 6723 | } |
| 6724 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 6725 | GetArenaNoVirtual()); |
| 6726 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
| 6727 | } |
| 6728 | inline ::std::string* DescriptorProto::unsafe_arena_release_name() { |
| 6729 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.DescriptorProto.name) |
| 6730 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 6731 | clear_has_name(); |
| 6732 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6733 | GetArenaNoVirtual()); |
| 6734 | } |
| 6735 | inline void DescriptorProto::unsafe_arena_set_allocated_name( |
| 6736 | ::std::string* name) { |
| 6737 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 6738 | if (name != NULL) { |
| 6739 | set_has_name(); |
| 6740 | } else { |
| 6741 | clear_has_name(); |
| 6742 | } |
| 6743 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 6744 | name, GetArenaNoVirtual()); |
| 6745 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.name) |
| 6746 | } |
| 6747 | |
| 6748 | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| 6749 | inline int DescriptorProto::field_size() const { |
| 6750 | return field_.size(); |
| 6751 | } |
| 6752 | inline void DescriptorProto::clear_field() { |
| 6753 | field_.Clear(); |
| 6754 | } |
| 6755 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { |
| 6756 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
| 6757 | return field_.Mutable(index); |
| 6758 | } |
| 6759 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 6760 | DescriptorProto::mutable_field() { |
| 6761 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
| 6762 | return &field_; |
| 6763 | } |
| 6764 | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const { |
| 6765 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
| 6766 | return field_.Get(index); |
| 6767 | } |
| 6768 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() { |
| 6769 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
| 6770 | return field_.Add(); |
| 6771 | } |
| 6772 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 6773 | DescriptorProto::field() const { |
| 6774 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
| 6775 | return field_; |
| 6776 | } |
| 6777 | |
| 6778 | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
| 6779 | inline int DescriptorProto::extension_size() const { |
| 6780 | return extension_.size(); |
| 6781 | } |
| 6782 | inline void DescriptorProto::clear_extension() { |
| 6783 | extension_.Clear(); |
| 6784 | } |
| 6785 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) { |
| 6786 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
| 6787 | return extension_.Mutable(index); |
| 6788 | } |
| 6789 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >* |
| 6790 | DescriptorProto::mutable_extension() { |
| 6791 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
| 6792 | return &extension_; |
| 6793 | } |
| 6794 | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const { |
| 6795 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
| 6796 | return extension_.Get(index); |
| 6797 | } |
| 6798 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() { |
| 6799 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
| 6800 | return extension_.Add(); |
| 6801 | } |
| 6802 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >& |
| 6803 | DescriptorProto::extension() const { |
| 6804 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
| 6805 | return extension_; |
| 6806 | } |
| 6807 | |
| 6808 | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
| 6809 | inline int DescriptorProto::nested_type_size() const { |
| 6810 | return nested_type_.size(); |
| 6811 | } |
| 6812 | inline void DescriptorProto::clear_nested_type() { |
| 6813 | nested_type_.Clear(); |
| 6814 | } |
| 6815 | inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) { |
| 6816 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
| 6817 | return nested_type_.Mutable(index); |
| 6818 | } |
| 6819 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >* |
| 6820 | DescriptorProto::mutable_nested_type() { |
| 6821 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
| 6822 | return &nested_type_; |
| 6823 | } |
| 6824 | inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const { |
| 6825 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
| 6826 | return nested_type_.Get(index); |
| 6827 | } |
| 6828 | inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() { |
| 6829 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
| 6830 | return nested_type_.Add(); |
| 6831 | } |
| 6832 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >& |
| 6833 | DescriptorProto::nested_type() const { |
| 6834 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
| 6835 | return nested_type_; |
| 6836 | } |
| 6837 | |
| 6838 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
| 6839 | inline int DescriptorProto::enum_type_size() const { |
| 6840 | return enum_type_.size(); |
| 6841 | } |
| 6842 | inline void DescriptorProto::clear_enum_type() { |
| 6843 | enum_type_.Clear(); |
| 6844 | } |
| 6845 | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) { |
| 6846 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
| 6847 | return enum_type_.Mutable(index); |
| 6848 | } |
| 6849 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >* |
| 6850 | DescriptorProto::mutable_enum_type() { |
| 6851 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
| 6852 | return &enum_type_; |
| 6853 | } |
| 6854 | inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { |
| 6855 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
| 6856 | return enum_type_.Get(index); |
| 6857 | } |
| 6858 | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() { |
| 6859 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
| 6860 | return enum_type_.Add(); |
| 6861 | } |
| 6862 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >& |
| 6863 | DescriptorProto::enum_type() const { |
| 6864 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
| 6865 | return enum_type_; |
| 6866 | } |
| 6867 | |
| 6868 | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
| 6869 | inline int DescriptorProto::extension_range_size() const { |
| 6870 | return extension_range_.size(); |
| 6871 | } |
| 6872 | inline void DescriptorProto::clear_extension_range() { |
| 6873 | extension_range_.Clear(); |
| 6874 | } |
| 6875 | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) { |
| 6876 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
| 6877 | return extension_range_.Mutable(index); |
| 6878 | } |
| 6879 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >* |
| 6880 | DescriptorProto::mutable_extension_range() { |
| 6881 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
| 6882 | return &extension_range_; |
| 6883 | } |
| 6884 | inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const { |
| 6885 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
| 6886 | return extension_range_.Get(index); |
| 6887 | } |
| 6888 | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() { |
| 6889 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
| 6890 | return extension_range_.Add(); |
| 6891 | } |
| 6892 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >& |
| 6893 | DescriptorProto::extension_range() const { |
| 6894 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
| 6895 | return extension_range_; |
| 6896 | } |
| 6897 | |
| 6898 | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
| 6899 | inline int DescriptorProto::oneof_decl_size() const { |
| 6900 | return oneof_decl_.size(); |
| 6901 | } |
| 6902 | inline void DescriptorProto::clear_oneof_decl() { |
| 6903 | oneof_decl_.Clear(); |
| 6904 | } |
| 6905 | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) { |
| 6906 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
| 6907 | return oneof_decl_.Mutable(index); |
| 6908 | } |
| 6909 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >* |
| 6910 | DescriptorProto::mutable_oneof_decl() { |
| 6911 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
| 6912 | return &oneof_decl_; |
| 6913 | } |
| 6914 | inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { |
| 6915 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
| 6916 | return oneof_decl_.Get(index); |
| 6917 | } |
| 6918 | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() { |
| 6919 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
| 6920 | return oneof_decl_.Add(); |
| 6921 | } |
| 6922 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >& |
| 6923 | DescriptorProto::oneof_decl() const { |
| 6924 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
| 6925 | return oneof_decl_; |
| 6926 | } |
| 6927 | |
| 6928 | // optional .google.protobuf.MessageOptions options = 7; |
| 6929 | inline bool DescriptorProto::has_options() const { |
| 6930 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 6931 | } |
| 6932 | inline void DescriptorProto::set_has_options() { |
| 6933 | _has_bits_[0] |= 0x00000002u; |
| 6934 | } |
| 6935 | inline void DescriptorProto::clear_has_options() { |
| 6936 | _has_bits_[0] &= ~0x00000002u; |
| 6937 | } |
| 6938 | inline void DescriptorProto::clear_options() { |
| 6939 | if (options_ != NULL) options_->Clear(); |
| 6940 | clear_has_options(); |
| 6941 | } |
| 6942 | inline const ::google::protobuf::MessageOptions& DescriptorProto::_internal_options() const { |
| 6943 | return *options_; |
| 6944 | } |
| 6945 | inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const { |
| 6946 | const ::google::protobuf::MessageOptions* p = options_; |
| 6947 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
| 6948 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::MessageOptions*>( |
| 6949 | &::google::protobuf::_MessageOptions_default_instance_); |
| 6950 | } |
| 6951 | inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
| 6952 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
| 6953 | clear_has_options(); |
| 6954 | ::google::protobuf::MessageOptions* temp = options_; |
| 6955 | if (GetArenaNoVirtual() != NULL) { |
| 6956 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 6957 | } |
| 6958 | options_ = NULL; |
| 6959 | return temp; |
| 6960 | } |
| 6961 | inline ::google::protobuf::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
| 6962 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.DescriptorProto.options) |
| 6963 | clear_has_options(); |
| 6964 | ::google::protobuf::MessageOptions* temp = options_; |
| 6965 | options_ = NULL; |
| 6966 | return temp; |
| 6967 | } |
| 6968 | inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() { |
| 6969 | set_has_options(); |
| 6970 | if (options_ == NULL) { |
| 6971 | auto* p = CreateMaybeMessage<::google::protobuf::MessageOptions>(GetArenaNoVirtual()); |
| 6972 | options_ = p; |
| 6973 | } |
| 6974 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
| 6975 | return options_; |
| 6976 | } |
| 6977 | inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) { |
| 6978 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 6979 | if (message_arena == NULL) { |
| 6980 | delete options_; |
| 6981 | } |
| 6982 | if (options) { |
| 6983 | ::google::protobuf::Arena* submessage_arena = |
| 6984 | ::google::protobuf::Arena::GetArena(options); |
| 6985 | if (message_arena != submessage_arena) { |
| 6986 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 6987 | message_arena, options, submessage_arena); |
| 6988 | } |
| 6989 | set_has_options(); |
| 6990 | } else { |
| 6991 | clear_has_options(); |
| 6992 | } |
| 6993 | options_ = options; |
| 6994 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
| 6995 | } |
| 6996 | |
| 6997 | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
| 6998 | inline int DescriptorProto::reserved_range_size() const { |
| 6999 | return reserved_range_.size(); |
| 7000 | } |
| 7001 | inline void DescriptorProto::clear_reserved_range() { |
| 7002 | reserved_range_.Clear(); |
| 7003 | } |
| 7004 | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) { |
| 7005 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
| 7006 | return reserved_range_.Mutable(index); |
| 7007 | } |
| 7008 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >* |
| 7009 | DescriptorProto::mutable_reserved_range() { |
| 7010 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
| 7011 | return &reserved_range_; |
| 7012 | } |
| 7013 | inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const { |
| 7014 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
| 7015 | return reserved_range_.Get(index); |
| 7016 | } |
| 7017 | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() { |
| 7018 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
| 7019 | return reserved_range_.Add(); |
| 7020 | } |
| 7021 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >& |
| 7022 | DescriptorProto::reserved_range() const { |
| 7023 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
| 7024 | return reserved_range_; |
| 7025 | } |
| 7026 | |
| 7027 | // repeated string reserved_name = 10; |
| 7028 | inline int DescriptorProto::reserved_name_size() const { |
| 7029 | return reserved_name_.size(); |
| 7030 | } |
| 7031 | inline void DescriptorProto::clear_reserved_name() { |
| 7032 | reserved_name_.Clear(); |
| 7033 | } |
| 7034 | inline const ::std::string& DescriptorProto::reserved_name(int index) const { |
| 7035 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
| 7036 | return reserved_name_.Get(index); |
| 7037 | } |
| 7038 | inline ::std::string* DescriptorProto::mutable_reserved_name(int index) { |
| 7039 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
| 7040 | return reserved_name_.Mutable(index); |
| 7041 | } |
| 7042 | inline void DescriptorProto::set_reserved_name(int index, const ::std::string& value) { |
| 7043 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
| 7044 | reserved_name_.Mutable(index)->assign(value); |
| 7045 | } |
| 7046 | #if LANG_CXX11 |
| 7047 | inline void DescriptorProto::set_reserved_name(int index, ::std::string&& value) { |
| 7048 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
| 7049 | reserved_name_.Mutable(index)->assign(std::move(value)); |
| 7050 | } |
| 7051 | #endif |
| 7052 | inline void DescriptorProto::set_reserved_name(int index, const char* value) { |
| 7053 | GOOGLE_DCHECK(value != NULL); |
| 7054 | reserved_name_.Mutable(index)->assign(value); |
| 7055 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) |
| 7056 | } |
| 7057 | inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
| 7058 | reserved_name_.Mutable(index)->assign( |
| 7059 | reinterpret_cast<const char*>(value), size); |
| 7060 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
| 7061 | } |
| 7062 | inline ::std::string* DescriptorProto::add_reserved_name() { |
| 7063 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
| 7064 | return reserved_name_.Add(); |
| 7065 | } |
| 7066 | inline void DescriptorProto::add_reserved_name(const ::std::string& value) { |
| 7067 | reserved_name_.Add()->assign(value); |
| 7068 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
| 7069 | } |
| 7070 | #if LANG_CXX11 |
| 7071 | inline void DescriptorProto::add_reserved_name(::std::string&& value) { |
| 7072 | reserved_name_.Add(std::move(value)); |
| 7073 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
| 7074 | } |
| 7075 | #endif |
| 7076 | inline void DescriptorProto::add_reserved_name(const char* value) { |
| 7077 | GOOGLE_DCHECK(value != NULL); |
| 7078 | reserved_name_.Add()->assign(value); |
| 7079 | // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) |
| 7080 | } |
| 7081 | inline void DescriptorProto::add_reserved_name(const char* value, size_t size) { |
| 7082 | reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 7083 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) |
| 7084 | } |
| 7085 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 7086 | DescriptorProto::reserved_name() const { |
| 7087 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
| 7088 | return reserved_name_; |
| 7089 | } |
| 7090 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 7091 | DescriptorProto::mutable_reserved_name() { |
| 7092 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
| 7093 | return &reserved_name_; |
| 7094 | } |
| 7095 | |
| 7096 | // ------------------------------------------------------------------- |
| 7097 | |
| 7098 | // ExtensionRangeOptions |
| 7099 | |
| 7100 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 7101 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
| 7102 | return uninterpreted_option_.size(); |
| 7103 | } |
| 7104 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
| 7105 | uninterpreted_option_.Clear(); |
| 7106 | } |
| 7107 | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) { |
| 7108 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 7109 | return uninterpreted_option_.Mutable(index); |
| 7110 | } |
| 7111 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 7112 | ExtensionRangeOptions::mutable_uninterpreted_option() { |
| 7113 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 7114 | return &uninterpreted_option_; |
| 7115 | } |
| 7116 | inline const ::google::protobuf::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const { |
| 7117 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 7118 | return uninterpreted_option_.Get(index); |
| 7119 | } |
| 7120 | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() { |
| 7121 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 7122 | return uninterpreted_option_.Add(); |
| 7123 | } |
| 7124 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 7125 | ExtensionRangeOptions::uninterpreted_option() const { |
| 7126 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 7127 | return uninterpreted_option_; |
| 7128 | } |
| 7129 | |
| 7130 | // ------------------------------------------------------------------- |
| 7131 | |
| 7132 | // FieldDescriptorProto |
| 7133 | |
| 7134 | // optional string name = 1; |
| 7135 | inline bool FieldDescriptorProto::has_name() const { |
| 7136 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 7137 | } |
| 7138 | inline void FieldDescriptorProto::set_has_name() { |
| 7139 | _has_bits_[0] |= 0x00000001u; |
| 7140 | } |
| 7141 | inline void FieldDescriptorProto::clear_has_name() { |
| 7142 | _has_bits_[0] &= ~0x00000001u; |
| 7143 | } |
| 7144 | inline void FieldDescriptorProto::clear_name() { |
| 7145 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7146 | clear_has_name(); |
| 7147 | } |
| 7148 | inline const ::std::string& FieldDescriptorProto::name() const { |
| 7149 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
| 7150 | return name_.Get(); |
| 7151 | } |
| 7152 | inline void FieldDescriptorProto::set_name(const ::std::string& value) { |
| 7153 | set_has_name(); |
| 7154 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7155 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
| 7156 | } |
| 7157 | #if LANG_CXX11 |
| 7158 | inline void FieldDescriptorProto::set_name(::std::string&& value) { |
| 7159 | set_has_name(); |
| 7160 | name_.Set( |
| 7161 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7162 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.name) |
| 7163 | } |
| 7164 | #endif |
| 7165 | inline void FieldDescriptorProto::set_name(const char* value) { |
| 7166 | GOOGLE_DCHECK(value != NULL); |
| 7167 | set_has_name(); |
| 7168 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7169 | GetArenaNoVirtual()); |
| 7170 | // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name) |
| 7171 | } |
| 7172 | inline void FieldDescriptorProto::set_name(const char* value, |
| 7173 | size_t size) { |
| 7174 | set_has_name(); |
| 7175 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7176 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7177 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name) |
| 7178 | } |
| 7179 | inline ::std::string* FieldDescriptorProto::mutable_name() { |
| 7180 | set_has_name(); |
| 7181 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
| 7182 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7183 | } |
| 7184 | inline ::std::string* FieldDescriptorProto::release_name() { |
| 7185 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
| 7186 | if (!has_name()) { |
| 7187 | return NULL; |
| 7188 | } |
| 7189 | clear_has_name(); |
| 7190 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7191 | } |
| 7192 | inline void FieldDescriptorProto::set_allocated_name(::std::string* name) { |
| 7193 | if (name != NULL) { |
| 7194 | set_has_name(); |
| 7195 | } else { |
| 7196 | clear_has_name(); |
| 7197 | } |
| 7198 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 7199 | GetArenaNoVirtual()); |
| 7200 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
| 7201 | } |
| 7202 | inline ::std::string* FieldDescriptorProto::unsafe_arena_release_name() { |
| 7203 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.name) |
| 7204 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7205 | clear_has_name(); |
| 7206 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7207 | GetArenaNoVirtual()); |
| 7208 | } |
| 7209 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_name( |
| 7210 | ::std::string* name) { |
| 7211 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7212 | if (name != NULL) { |
| 7213 | set_has_name(); |
| 7214 | } else { |
| 7215 | clear_has_name(); |
| 7216 | } |
| 7217 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7218 | name, GetArenaNoVirtual()); |
| 7219 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.name) |
| 7220 | } |
| 7221 | |
| 7222 | // optional int32 number = 3; |
| 7223 | inline bool FieldDescriptorProto::has_number() const { |
| 7224 | return (_has_bits_[0] & 0x00000040u) != 0; |
| 7225 | } |
| 7226 | inline void FieldDescriptorProto::set_has_number() { |
| 7227 | _has_bits_[0] |= 0x00000040u; |
| 7228 | } |
| 7229 | inline void FieldDescriptorProto::clear_has_number() { |
| 7230 | _has_bits_[0] &= ~0x00000040u; |
| 7231 | } |
| 7232 | inline void FieldDescriptorProto::clear_number() { |
| 7233 | number_ = 0; |
| 7234 | clear_has_number(); |
| 7235 | } |
| 7236 | inline ::google::protobuf::int32 FieldDescriptorProto::number() const { |
| 7237 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
| 7238 | return number_; |
| 7239 | } |
| 7240 | inline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) { |
| 7241 | set_has_number(); |
| 7242 | number_ = value; |
| 7243 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
| 7244 | } |
| 7245 | |
| 7246 | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| 7247 | inline bool FieldDescriptorProto::has_label() const { |
| 7248 | return (_has_bits_[0] & 0x00000100u) != 0; |
| 7249 | } |
| 7250 | inline void FieldDescriptorProto::set_has_label() { |
| 7251 | _has_bits_[0] |= 0x00000100u; |
| 7252 | } |
| 7253 | inline void FieldDescriptorProto::clear_has_label() { |
| 7254 | _has_bits_[0] &= ~0x00000100u; |
| 7255 | } |
| 7256 | inline void FieldDescriptorProto::clear_label() { |
| 7257 | label_ = 1; |
| 7258 | clear_has_label(); |
| 7259 | } |
| 7260 | inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
| 7261 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
| 7262 | return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_); |
| 7263 | } |
| 7264 | inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) { |
| 7265 | assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
| 7266 | set_has_label(); |
| 7267 | label_ = value; |
| 7268 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
| 7269 | } |
| 7270 | |
| 7271 | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| 7272 | inline bool FieldDescriptorProto::has_type() const { |
| 7273 | return (_has_bits_[0] & 0x00000200u) != 0; |
| 7274 | } |
| 7275 | inline void FieldDescriptorProto::set_has_type() { |
| 7276 | _has_bits_[0] |= 0x00000200u; |
| 7277 | } |
| 7278 | inline void FieldDescriptorProto::clear_has_type() { |
| 7279 | _has_bits_[0] &= ~0x00000200u; |
| 7280 | } |
| 7281 | inline void FieldDescriptorProto::clear_type() { |
| 7282 | type_ = 1; |
| 7283 | clear_has_type(); |
| 7284 | } |
| 7285 | inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
| 7286 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
| 7287 | return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_); |
| 7288 | } |
| 7289 | inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) { |
| 7290 | assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
| 7291 | set_has_type(); |
| 7292 | type_ = value; |
| 7293 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
| 7294 | } |
| 7295 | |
| 7296 | // optional string type_name = 6; |
| 7297 | inline bool FieldDescriptorProto::has_type_name() const { |
| 7298 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 7299 | } |
| 7300 | inline void FieldDescriptorProto::set_has_type_name() { |
| 7301 | _has_bits_[0] |= 0x00000004u; |
| 7302 | } |
| 7303 | inline void FieldDescriptorProto::clear_has_type_name() { |
| 7304 | _has_bits_[0] &= ~0x00000004u; |
| 7305 | } |
| 7306 | inline void FieldDescriptorProto::clear_type_name() { |
| 7307 | type_name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7308 | clear_has_type_name(); |
| 7309 | } |
| 7310 | inline const ::std::string& FieldDescriptorProto::type_name() const { |
| 7311 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
| 7312 | return type_name_.Get(); |
| 7313 | } |
| 7314 | inline void FieldDescriptorProto::set_type_name(const ::std::string& value) { |
| 7315 | set_has_type_name(); |
| 7316 | type_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7317 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
| 7318 | } |
| 7319 | #if LANG_CXX11 |
| 7320 | inline void FieldDescriptorProto::set_type_name(::std::string&& value) { |
| 7321 | set_has_type_name(); |
| 7322 | type_name_.Set( |
| 7323 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7324 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.type_name) |
| 7325 | } |
| 7326 | #endif |
| 7327 | inline void FieldDescriptorProto::set_type_name(const char* value) { |
| 7328 | GOOGLE_DCHECK(value != NULL); |
| 7329 | set_has_type_name(); |
| 7330 | type_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7331 | GetArenaNoVirtual()); |
| 7332 | // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name) |
| 7333 | } |
| 7334 | inline void FieldDescriptorProto::set_type_name(const char* value, |
| 7335 | size_t size) { |
| 7336 | set_has_type_name(); |
| 7337 | type_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7338 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7339 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name) |
| 7340 | } |
| 7341 | inline ::std::string* FieldDescriptorProto::mutable_type_name() { |
| 7342 | set_has_type_name(); |
| 7343 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
| 7344 | return type_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7345 | } |
| 7346 | inline ::std::string* FieldDescriptorProto::release_type_name() { |
| 7347 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
| 7348 | if (!has_type_name()) { |
| 7349 | return NULL; |
| 7350 | } |
| 7351 | clear_has_type_name(); |
| 7352 | return type_name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7353 | } |
| 7354 | inline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) { |
| 7355 | if (type_name != NULL) { |
| 7356 | set_has_type_name(); |
| 7357 | } else { |
| 7358 | clear_has_type_name(); |
| 7359 | } |
| 7360 | type_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name, |
| 7361 | GetArenaNoVirtual()); |
| 7362 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
| 7363 | } |
| 7364 | inline ::std::string* FieldDescriptorProto::unsafe_arena_release_type_name() { |
| 7365 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.type_name) |
| 7366 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7367 | clear_has_type_name(); |
| 7368 | return type_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7369 | GetArenaNoVirtual()); |
| 7370 | } |
| 7371 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_type_name( |
| 7372 | ::std::string* type_name) { |
| 7373 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7374 | if (type_name != NULL) { |
| 7375 | set_has_type_name(); |
| 7376 | } else { |
| 7377 | clear_has_type_name(); |
| 7378 | } |
| 7379 | type_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7380 | type_name, GetArenaNoVirtual()); |
| 7381 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
| 7382 | } |
| 7383 | |
| 7384 | // optional string extendee = 2; |
| 7385 | inline bool FieldDescriptorProto::has_extendee() const { |
| 7386 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 7387 | } |
| 7388 | inline void FieldDescriptorProto::set_has_extendee() { |
| 7389 | _has_bits_[0] |= 0x00000002u; |
| 7390 | } |
| 7391 | inline void FieldDescriptorProto::clear_has_extendee() { |
| 7392 | _has_bits_[0] &= ~0x00000002u; |
| 7393 | } |
| 7394 | inline void FieldDescriptorProto::clear_extendee() { |
| 7395 | extendee_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7396 | clear_has_extendee(); |
| 7397 | } |
| 7398 | inline const ::std::string& FieldDescriptorProto::extendee() const { |
| 7399 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
| 7400 | return extendee_.Get(); |
| 7401 | } |
| 7402 | inline void FieldDescriptorProto::set_extendee(const ::std::string& value) { |
| 7403 | set_has_extendee(); |
| 7404 | extendee_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7405 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
| 7406 | } |
| 7407 | #if LANG_CXX11 |
| 7408 | inline void FieldDescriptorProto::set_extendee(::std::string&& value) { |
| 7409 | set_has_extendee(); |
| 7410 | extendee_.Set( |
| 7411 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7412 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.extendee) |
| 7413 | } |
| 7414 | #endif |
| 7415 | inline void FieldDescriptorProto::set_extendee(const char* value) { |
| 7416 | GOOGLE_DCHECK(value != NULL); |
| 7417 | set_has_extendee(); |
| 7418 | extendee_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7419 | GetArenaNoVirtual()); |
| 7420 | // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee) |
| 7421 | } |
| 7422 | inline void FieldDescriptorProto::set_extendee(const char* value, |
| 7423 | size_t size) { |
| 7424 | set_has_extendee(); |
| 7425 | extendee_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7426 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7427 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee) |
| 7428 | } |
| 7429 | inline ::std::string* FieldDescriptorProto::mutable_extendee() { |
| 7430 | set_has_extendee(); |
| 7431 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
| 7432 | return extendee_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7433 | } |
| 7434 | inline ::std::string* FieldDescriptorProto::release_extendee() { |
| 7435 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
| 7436 | if (!has_extendee()) { |
| 7437 | return NULL; |
| 7438 | } |
| 7439 | clear_has_extendee(); |
| 7440 | return extendee_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7441 | } |
| 7442 | inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) { |
| 7443 | if (extendee != NULL) { |
| 7444 | set_has_extendee(); |
| 7445 | } else { |
| 7446 | clear_has_extendee(); |
| 7447 | } |
| 7448 | extendee_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee, |
| 7449 | GetArenaNoVirtual()); |
| 7450 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
| 7451 | } |
| 7452 | inline ::std::string* FieldDescriptorProto::unsafe_arena_release_extendee() { |
| 7453 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.extendee) |
| 7454 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7455 | clear_has_extendee(); |
| 7456 | return extendee_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7457 | GetArenaNoVirtual()); |
| 7458 | } |
| 7459 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_extendee( |
| 7460 | ::std::string* extendee) { |
| 7461 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7462 | if (extendee != NULL) { |
| 7463 | set_has_extendee(); |
| 7464 | } else { |
| 7465 | clear_has_extendee(); |
| 7466 | } |
| 7467 | extendee_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7468 | extendee, GetArenaNoVirtual()); |
| 7469 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
| 7470 | } |
| 7471 | |
| 7472 | // optional string default_value = 7; |
| 7473 | inline bool FieldDescriptorProto::has_default_value() const { |
| 7474 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 7475 | } |
| 7476 | inline void FieldDescriptorProto::set_has_default_value() { |
| 7477 | _has_bits_[0] |= 0x00000008u; |
| 7478 | } |
| 7479 | inline void FieldDescriptorProto::clear_has_default_value() { |
| 7480 | _has_bits_[0] &= ~0x00000008u; |
| 7481 | } |
| 7482 | inline void FieldDescriptorProto::clear_default_value() { |
| 7483 | default_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7484 | clear_has_default_value(); |
| 7485 | } |
| 7486 | inline const ::std::string& FieldDescriptorProto::default_value() const { |
| 7487 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
| 7488 | return default_value_.Get(); |
| 7489 | } |
| 7490 | inline void FieldDescriptorProto::set_default_value(const ::std::string& value) { |
| 7491 | set_has_default_value(); |
| 7492 | default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7493 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
| 7494 | } |
| 7495 | #if LANG_CXX11 |
| 7496 | inline void FieldDescriptorProto::set_default_value(::std::string&& value) { |
| 7497 | set_has_default_value(); |
| 7498 | default_value_.Set( |
| 7499 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7500 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.default_value) |
| 7501 | } |
| 7502 | #endif |
| 7503 | inline void FieldDescriptorProto::set_default_value(const char* value) { |
| 7504 | GOOGLE_DCHECK(value != NULL); |
| 7505 | set_has_default_value(); |
| 7506 | default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7507 | GetArenaNoVirtual()); |
| 7508 | // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value) |
| 7509 | } |
| 7510 | inline void FieldDescriptorProto::set_default_value(const char* value, |
| 7511 | size_t size) { |
| 7512 | set_has_default_value(); |
| 7513 | default_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7514 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7515 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value) |
| 7516 | } |
| 7517 | inline ::std::string* FieldDescriptorProto::mutable_default_value() { |
| 7518 | set_has_default_value(); |
| 7519 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
| 7520 | return default_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7521 | } |
| 7522 | inline ::std::string* FieldDescriptorProto::release_default_value() { |
| 7523 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
| 7524 | if (!has_default_value()) { |
| 7525 | return NULL; |
| 7526 | } |
| 7527 | clear_has_default_value(); |
| 7528 | return default_value_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7529 | } |
| 7530 | inline void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) { |
| 7531 | if (default_value != NULL) { |
| 7532 | set_has_default_value(); |
| 7533 | } else { |
| 7534 | clear_has_default_value(); |
| 7535 | } |
| 7536 | default_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value, |
| 7537 | GetArenaNoVirtual()); |
| 7538 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
| 7539 | } |
| 7540 | inline ::std::string* FieldDescriptorProto::unsafe_arena_release_default_value() { |
| 7541 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.default_value) |
| 7542 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7543 | clear_has_default_value(); |
| 7544 | return default_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7545 | GetArenaNoVirtual()); |
| 7546 | } |
| 7547 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_default_value( |
| 7548 | ::std::string* default_value) { |
| 7549 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7550 | if (default_value != NULL) { |
| 7551 | set_has_default_value(); |
| 7552 | } else { |
| 7553 | clear_has_default_value(); |
| 7554 | } |
| 7555 | default_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7556 | default_value, GetArenaNoVirtual()); |
| 7557 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
| 7558 | } |
| 7559 | |
| 7560 | // optional int32 oneof_index = 9; |
| 7561 | inline bool FieldDescriptorProto::has_oneof_index() const { |
| 7562 | return (_has_bits_[0] & 0x00000080u) != 0; |
| 7563 | } |
| 7564 | inline void FieldDescriptorProto::set_has_oneof_index() { |
| 7565 | _has_bits_[0] |= 0x00000080u; |
| 7566 | } |
| 7567 | inline void FieldDescriptorProto::clear_has_oneof_index() { |
| 7568 | _has_bits_[0] &= ~0x00000080u; |
| 7569 | } |
| 7570 | inline void FieldDescriptorProto::clear_oneof_index() { |
| 7571 | oneof_index_ = 0; |
| 7572 | clear_has_oneof_index(); |
| 7573 | } |
| 7574 | inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { |
| 7575 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
| 7576 | return oneof_index_; |
| 7577 | } |
| 7578 | inline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) { |
| 7579 | set_has_oneof_index(); |
| 7580 | oneof_index_ = value; |
| 7581 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
| 7582 | } |
| 7583 | |
| 7584 | // optional string json_name = 10; |
| 7585 | inline bool FieldDescriptorProto::has_json_name() const { |
| 7586 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 7587 | } |
| 7588 | inline void FieldDescriptorProto::set_has_json_name() { |
| 7589 | _has_bits_[0] |= 0x00000010u; |
| 7590 | } |
| 7591 | inline void FieldDescriptorProto::clear_has_json_name() { |
| 7592 | _has_bits_[0] &= ~0x00000010u; |
| 7593 | } |
| 7594 | inline void FieldDescriptorProto::clear_json_name() { |
| 7595 | json_name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7596 | clear_has_json_name(); |
| 7597 | } |
| 7598 | inline const ::std::string& FieldDescriptorProto::json_name() const { |
| 7599 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
| 7600 | return json_name_.Get(); |
| 7601 | } |
| 7602 | inline void FieldDescriptorProto::set_json_name(const ::std::string& value) { |
| 7603 | set_has_json_name(); |
| 7604 | json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7605 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
| 7606 | } |
| 7607 | #if LANG_CXX11 |
| 7608 | inline void FieldDescriptorProto::set_json_name(::std::string&& value) { |
| 7609 | set_has_json_name(); |
| 7610 | json_name_.Set( |
| 7611 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7612 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FieldDescriptorProto.json_name) |
| 7613 | } |
| 7614 | #endif |
| 7615 | inline void FieldDescriptorProto::set_json_name(const char* value) { |
| 7616 | GOOGLE_DCHECK(value != NULL); |
| 7617 | set_has_json_name(); |
| 7618 | json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7619 | GetArenaNoVirtual()); |
| 7620 | // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.json_name) |
| 7621 | } |
| 7622 | inline void FieldDescriptorProto::set_json_name(const char* value, |
| 7623 | size_t size) { |
| 7624 | set_has_json_name(); |
| 7625 | json_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7626 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7627 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.json_name) |
| 7628 | } |
| 7629 | inline ::std::string* FieldDescriptorProto::mutable_json_name() { |
| 7630 | set_has_json_name(); |
| 7631 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
| 7632 | return json_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7633 | } |
| 7634 | inline ::std::string* FieldDescriptorProto::release_json_name() { |
| 7635 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
| 7636 | if (!has_json_name()) { |
| 7637 | return NULL; |
| 7638 | } |
| 7639 | clear_has_json_name(); |
| 7640 | return json_name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7641 | } |
| 7642 | inline void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) { |
| 7643 | if (json_name != NULL) { |
| 7644 | set_has_json_name(); |
| 7645 | } else { |
| 7646 | clear_has_json_name(); |
| 7647 | } |
| 7648 | json_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name, |
| 7649 | GetArenaNoVirtual()); |
| 7650 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
| 7651 | } |
| 7652 | inline ::std::string* FieldDescriptorProto::unsafe_arena_release_json_name() { |
| 7653 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.json_name) |
| 7654 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7655 | clear_has_json_name(); |
| 7656 | return json_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7657 | GetArenaNoVirtual()); |
| 7658 | } |
| 7659 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_json_name( |
| 7660 | ::std::string* json_name) { |
| 7661 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7662 | if (json_name != NULL) { |
| 7663 | set_has_json_name(); |
| 7664 | } else { |
| 7665 | clear_has_json_name(); |
| 7666 | } |
| 7667 | json_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7668 | json_name, GetArenaNoVirtual()); |
| 7669 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
| 7670 | } |
| 7671 | |
| 7672 | // optional .google.protobuf.FieldOptions options = 8; |
| 7673 | inline bool FieldDescriptorProto::has_options() const { |
| 7674 | return (_has_bits_[0] & 0x00000020u) != 0; |
| 7675 | } |
| 7676 | inline void FieldDescriptorProto::set_has_options() { |
| 7677 | _has_bits_[0] |= 0x00000020u; |
| 7678 | } |
| 7679 | inline void FieldDescriptorProto::clear_has_options() { |
| 7680 | _has_bits_[0] &= ~0x00000020u; |
| 7681 | } |
| 7682 | inline void FieldDescriptorProto::clear_options() { |
| 7683 | if (options_ != NULL) options_->Clear(); |
| 7684 | clear_has_options(); |
| 7685 | } |
| 7686 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::_internal_options() const { |
| 7687 | return *options_; |
| 7688 | } |
| 7689 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const { |
| 7690 | const ::google::protobuf::FieldOptions* p = options_; |
| 7691 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
| 7692 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::FieldOptions*>( |
| 7693 | &::google::protobuf::_FieldOptions_default_instance_); |
| 7694 | } |
| 7695 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { |
| 7696 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
| 7697 | clear_has_options(); |
| 7698 | ::google::protobuf::FieldOptions* temp = options_; |
| 7699 | if (GetArenaNoVirtual() != NULL) { |
| 7700 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 7701 | } |
| 7702 | options_ = NULL; |
| 7703 | return temp; |
| 7704 | } |
| 7705 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
| 7706 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FieldDescriptorProto.options) |
| 7707 | clear_has_options(); |
| 7708 | ::google::protobuf::FieldOptions* temp = options_; |
| 7709 | options_ = NULL; |
| 7710 | return temp; |
| 7711 | } |
| 7712 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() { |
| 7713 | set_has_options(); |
| 7714 | if (options_ == NULL) { |
| 7715 | auto* p = CreateMaybeMessage<::google::protobuf::FieldOptions>(GetArenaNoVirtual()); |
| 7716 | options_ = p; |
| 7717 | } |
| 7718 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
| 7719 | return options_; |
| 7720 | } |
| 7721 | inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) { |
| 7722 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7723 | if (message_arena == NULL) { |
| 7724 | delete options_; |
| 7725 | } |
| 7726 | if (options) { |
| 7727 | ::google::protobuf::Arena* submessage_arena = |
| 7728 | ::google::protobuf::Arena::GetArena(options); |
| 7729 | if (message_arena != submessage_arena) { |
| 7730 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 7731 | message_arena, options, submessage_arena); |
| 7732 | } |
| 7733 | set_has_options(); |
| 7734 | } else { |
| 7735 | clear_has_options(); |
| 7736 | } |
| 7737 | options_ = options; |
| 7738 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
| 7739 | } |
| 7740 | |
| 7741 | // ------------------------------------------------------------------- |
| 7742 | |
| 7743 | // OneofDescriptorProto |
| 7744 | |
| 7745 | // optional string name = 1; |
| 7746 | inline bool OneofDescriptorProto::has_name() const { |
| 7747 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 7748 | } |
| 7749 | inline void OneofDescriptorProto::set_has_name() { |
| 7750 | _has_bits_[0] |= 0x00000001u; |
| 7751 | } |
| 7752 | inline void OneofDescriptorProto::clear_has_name() { |
| 7753 | _has_bits_[0] &= ~0x00000001u; |
| 7754 | } |
| 7755 | inline void OneofDescriptorProto::clear_name() { |
| 7756 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7757 | clear_has_name(); |
| 7758 | } |
| 7759 | inline const ::std::string& OneofDescriptorProto::name() const { |
| 7760 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
| 7761 | return name_.Get(); |
| 7762 | } |
| 7763 | inline void OneofDescriptorProto::set_name(const ::std::string& value) { |
| 7764 | set_has_name(); |
| 7765 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7766 | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
| 7767 | } |
| 7768 | #if LANG_CXX11 |
| 7769 | inline void OneofDescriptorProto::set_name(::std::string&& value) { |
| 7770 | set_has_name(); |
| 7771 | name_.Set( |
| 7772 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7773 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.OneofDescriptorProto.name) |
| 7774 | } |
| 7775 | #endif |
| 7776 | inline void OneofDescriptorProto::set_name(const char* value) { |
| 7777 | GOOGLE_DCHECK(value != NULL); |
| 7778 | set_has_name(); |
| 7779 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7780 | GetArenaNoVirtual()); |
| 7781 | // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name) |
| 7782 | } |
| 7783 | inline void OneofDescriptorProto::set_name(const char* value, |
| 7784 | size_t size) { |
| 7785 | set_has_name(); |
| 7786 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 7787 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 7788 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name) |
| 7789 | } |
| 7790 | inline ::std::string* OneofDescriptorProto::mutable_name() { |
| 7791 | set_has_name(); |
| 7792 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
| 7793 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7794 | } |
| 7795 | inline ::std::string* OneofDescriptorProto::release_name() { |
| 7796 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
| 7797 | if (!has_name()) { |
| 7798 | return NULL; |
| 7799 | } |
| 7800 | clear_has_name(); |
| 7801 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7802 | } |
| 7803 | inline void OneofDescriptorProto::set_allocated_name(::std::string* name) { |
| 7804 | if (name != NULL) { |
| 7805 | set_has_name(); |
| 7806 | } else { |
| 7807 | clear_has_name(); |
| 7808 | } |
| 7809 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 7810 | GetArenaNoVirtual()); |
| 7811 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
| 7812 | } |
| 7813 | inline ::std::string* OneofDescriptorProto::unsafe_arena_release_name() { |
| 7814 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.OneofDescriptorProto.name) |
| 7815 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7816 | clear_has_name(); |
| 7817 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7818 | GetArenaNoVirtual()); |
| 7819 | } |
| 7820 | inline void OneofDescriptorProto::unsafe_arena_set_allocated_name( |
| 7821 | ::std::string* name) { |
| 7822 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 7823 | if (name != NULL) { |
| 7824 | set_has_name(); |
| 7825 | } else { |
| 7826 | clear_has_name(); |
| 7827 | } |
| 7828 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 7829 | name, GetArenaNoVirtual()); |
| 7830 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.name) |
| 7831 | } |
| 7832 | |
| 7833 | // optional .google.protobuf.OneofOptions options = 2; |
| 7834 | inline bool OneofDescriptorProto::has_options() const { |
| 7835 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 7836 | } |
| 7837 | inline void OneofDescriptorProto::set_has_options() { |
| 7838 | _has_bits_[0] |= 0x00000002u; |
| 7839 | } |
| 7840 | inline void OneofDescriptorProto::clear_has_options() { |
| 7841 | _has_bits_[0] &= ~0x00000002u; |
| 7842 | } |
| 7843 | inline void OneofDescriptorProto::clear_options() { |
| 7844 | if (options_ != NULL) options_->Clear(); |
| 7845 | clear_has_options(); |
| 7846 | } |
| 7847 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::_internal_options() const { |
| 7848 | return *options_; |
| 7849 | } |
| 7850 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() const { |
| 7851 | const ::google::protobuf::OneofOptions* p = options_; |
| 7852 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
| 7853 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::OneofOptions*>( |
| 7854 | &::google::protobuf::_OneofOptions_default_instance_); |
| 7855 | } |
| 7856 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options() { |
| 7857 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
| 7858 | clear_has_options(); |
| 7859 | ::google::protobuf::OneofOptions* temp = options_; |
| 7860 | if (GetArenaNoVirtual() != NULL) { |
| 7861 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 7862 | } |
| 7863 | options_ = NULL; |
| 7864 | return temp; |
| 7865 | } |
| 7866 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
| 7867 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.OneofDescriptorProto.options) |
| 7868 | clear_has_options(); |
| 7869 | ::google::protobuf::OneofOptions* temp = options_; |
| 7870 | options_ = NULL; |
| 7871 | return temp; |
| 7872 | } |
| 7873 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options() { |
| 7874 | set_has_options(); |
| 7875 | if (options_ == NULL) { |
| 7876 | auto* p = CreateMaybeMessage<::google::protobuf::OneofOptions>(GetArenaNoVirtual()); |
| 7877 | options_ = p; |
| 7878 | } |
| 7879 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
| 7880 | return options_; |
| 7881 | } |
| 7882 | inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::OneofOptions* options) { |
| 7883 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 7884 | if (message_arena == NULL) { |
| 7885 | delete options_; |
| 7886 | } |
| 7887 | if (options) { |
| 7888 | ::google::protobuf::Arena* submessage_arena = |
| 7889 | ::google::protobuf::Arena::GetArena(options); |
| 7890 | if (message_arena != submessage_arena) { |
| 7891 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 7892 | message_arena, options, submessage_arena); |
| 7893 | } |
| 7894 | set_has_options(); |
| 7895 | } else { |
| 7896 | clear_has_options(); |
| 7897 | } |
| 7898 | options_ = options; |
| 7899 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
| 7900 | } |
| 7901 | |
| 7902 | // ------------------------------------------------------------------- |
| 7903 | |
| 7904 | // EnumDescriptorProto_EnumReservedRange |
| 7905 | |
| 7906 | // optional int32 start = 1; |
| 7907 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
| 7908 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 7909 | } |
| 7910 | inline void EnumDescriptorProto_EnumReservedRange::set_has_start() { |
| 7911 | _has_bits_[0] |= 0x00000001u; |
| 7912 | } |
| 7913 | inline void EnumDescriptorProto_EnumReservedRange::clear_has_start() { |
| 7914 | _has_bits_[0] &= ~0x00000001u; |
| 7915 | } |
| 7916 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
| 7917 | start_ = 0; |
| 7918 | clear_has_start(); |
| 7919 | } |
| 7920 | inline ::google::protobuf::int32 EnumDescriptorProto_EnumReservedRange::start() const { |
| 7921 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
| 7922 | return start_; |
| 7923 | } |
| 7924 | inline void EnumDescriptorProto_EnumReservedRange::set_start(::google::protobuf::int32 value) { |
| 7925 | set_has_start(); |
| 7926 | start_ = value; |
| 7927 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
| 7928 | } |
| 7929 | |
| 7930 | // optional int32 end = 2; |
| 7931 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
| 7932 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 7933 | } |
| 7934 | inline void EnumDescriptorProto_EnumReservedRange::set_has_end() { |
| 7935 | _has_bits_[0] |= 0x00000002u; |
| 7936 | } |
| 7937 | inline void EnumDescriptorProto_EnumReservedRange::clear_has_end() { |
| 7938 | _has_bits_[0] &= ~0x00000002u; |
| 7939 | } |
| 7940 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
| 7941 | end_ = 0; |
| 7942 | clear_has_end(); |
| 7943 | } |
| 7944 | inline ::google::protobuf::int32 EnumDescriptorProto_EnumReservedRange::end() const { |
| 7945 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
| 7946 | return end_; |
| 7947 | } |
| 7948 | inline void EnumDescriptorProto_EnumReservedRange::set_end(::google::protobuf::int32 value) { |
| 7949 | set_has_end(); |
| 7950 | end_ = value; |
| 7951 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
| 7952 | } |
| 7953 | |
| 7954 | // ------------------------------------------------------------------- |
| 7955 | |
| 7956 | // EnumDescriptorProto |
| 7957 | |
| 7958 | // optional string name = 1; |
| 7959 | inline bool EnumDescriptorProto::has_name() const { |
| 7960 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 7961 | } |
| 7962 | inline void EnumDescriptorProto::set_has_name() { |
| 7963 | _has_bits_[0] |= 0x00000001u; |
| 7964 | } |
| 7965 | inline void EnumDescriptorProto::clear_has_name() { |
| 7966 | _has_bits_[0] &= ~0x00000001u; |
| 7967 | } |
| 7968 | inline void EnumDescriptorProto::clear_name() { |
| 7969 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 7970 | clear_has_name(); |
| 7971 | } |
| 7972 | inline const ::std::string& EnumDescriptorProto::name() const { |
| 7973 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
| 7974 | return name_.Get(); |
| 7975 | } |
| 7976 | inline void EnumDescriptorProto::set_name(const ::std::string& value) { |
| 7977 | set_has_name(); |
| 7978 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 7979 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
| 7980 | } |
| 7981 | #if LANG_CXX11 |
| 7982 | inline void EnumDescriptorProto::set_name(::std::string&& value) { |
| 7983 | set_has_name(); |
| 7984 | name_.Set( |
| 7985 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 7986 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumDescriptorProto.name) |
| 7987 | } |
| 7988 | #endif |
| 7989 | inline void EnumDescriptorProto::set_name(const char* value) { |
| 7990 | GOOGLE_DCHECK(value != NULL); |
| 7991 | set_has_name(); |
| 7992 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 7993 | GetArenaNoVirtual()); |
| 7994 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name) |
| 7995 | } |
| 7996 | inline void EnumDescriptorProto::set_name(const char* value, |
| 7997 | size_t size) { |
| 7998 | set_has_name(); |
| 7999 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8000 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8001 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name) |
| 8002 | } |
| 8003 | inline ::std::string* EnumDescriptorProto::mutable_name() { |
| 8004 | set_has_name(); |
| 8005 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
| 8006 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8007 | } |
| 8008 | inline ::std::string* EnumDescriptorProto::release_name() { |
| 8009 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
| 8010 | if (!has_name()) { |
| 8011 | return NULL; |
| 8012 | } |
| 8013 | clear_has_name(); |
| 8014 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8015 | } |
| 8016 | inline void EnumDescriptorProto::set_allocated_name(::std::string* name) { |
| 8017 | if (name != NULL) { |
| 8018 | set_has_name(); |
| 8019 | } else { |
| 8020 | clear_has_name(); |
| 8021 | } |
| 8022 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 8023 | GetArenaNoVirtual()); |
| 8024 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
| 8025 | } |
| 8026 | inline ::std::string* EnumDescriptorProto::unsafe_arena_release_name() { |
| 8027 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumDescriptorProto.name) |
| 8028 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8029 | clear_has_name(); |
| 8030 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8031 | GetArenaNoVirtual()); |
| 8032 | } |
| 8033 | inline void EnumDescriptorProto::unsafe_arena_set_allocated_name( |
| 8034 | ::std::string* name) { |
| 8035 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8036 | if (name != NULL) { |
| 8037 | set_has_name(); |
| 8038 | } else { |
| 8039 | clear_has_name(); |
| 8040 | } |
| 8041 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8042 | name, GetArenaNoVirtual()); |
| 8043 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.name) |
| 8044 | } |
| 8045 | |
| 8046 | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| 8047 | inline int EnumDescriptorProto::value_size() const { |
| 8048 | return value_.size(); |
| 8049 | } |
| 8050 | inline void EnumDescriptorProto::clear_value() { |
| 8051 | value_.Clear(); |
| 8052 | } |
| 8053 | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) { |
| 8054 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
| 8055 | return value_.Mutable(index); |
| 8056 | } |
| 8057 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >* |
| 8058 | EnumDescriptorProto::mutable_value() { |
| 8059 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
| 8060 | return &value_; |
| 8061 | } |
| 8062 | inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const { |
| 8063 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
| 8064 | return value_.Get(index); |
| 8065 | } |
| 8066 | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() { |
| 8067 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
| 8068 | return value_.Add(); |
| 8069 | } |
| 8070 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >& |
| 8071 | EnumDescriptorProto::value() const { |
| 8072 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
| 8073 | return value_; |
| 8074 | } |
| 8075 | |
| 8076 | // optional .google.protobuf.EnumOptions options = 3; |
| 8077 | inline bool EnumDescriptorProto::has_options() const { |
| 8078 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 8079 | } |
| 8080 | inline void EnumDescriptorProto::set_has_options() { |
| 8081 | _has_bits_[0] |= 0x00000002u; |
| 8082 | } |
| 8083 | inline void EnumDescriptorProto::clear_has_options() { |
| 8084 | _has_bits_[0] &= ~0x00000002u; |
| 8085 | } |
| 8086 | inline void EnumDescriptorProto::clear_options() { |
| 8087 | if (options_ != NULL) options_->Clear(); |
| 8088 | clear_has_options(); |
| 8089 | } |
| 8090 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::_internal_options() const { |
| 8091 | return *options_; |
| 8092 | } |
| 8093 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const { |
| 8094 | const ::google::protobuf::EnumOptions* p = options_; |
| 8095 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
| 8096 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::EnumOptions*>( |
| 8097 | &::google::protobuf::_EnumOptions_default_instance_); |
| 8098 | } |
| 8099 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
| 8100 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
| 8101 | clear_has_options(); |
| 8102 | ::google::protobuf::EnumOptions* temp = options_; |
| 8103 | if (GetArenaNoVirtual() != NULL) { |
| 8104 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 8105 | } |
| 8106 | options_ = NULL; |
| 8107 | return temp; |
| 8108 | } |
| 8109 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
| 8110 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumDescriptorProto.options) |
| 8111 | clear_has_options(); |
| 8112 | ::google::protobuf::EnumOptions* temp = options_; |
| 8113 | options_ = NULL; |
| 8114 | return temp; |
| 8115 | } |
| 8116 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() { |
| 8117 | set_has_options(); |
| 8118 | if (options_ == NULL) { |
| 8119 | auto* p = CreateMaybeMessage<::google::protobuf::EnumOptions>(GetArenaNoVirtual()); |
| 8120 | options_ = p; |
| 8121 | } |
| 8122 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
| 8123 | return options_; |
| 8124 | } |
| 8125 | inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) { |
| 8126 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8127 | if (message_arena == NULL) { |
| 8128 | delete options_; |
| 8129 | } |
| 8130 | if (options) { |
| 8131 | ::google::protobuf::Arena* submessage_arena = |
| 8132 | ::google::protobuf::Arena::GetArena(options); |
| 8133 | if (message_arena != submessage_arena) { |
| 8134 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 8135 | message_arena, options, submessage_arena); |
| 8136 | } |
| 8137 | set_has_options(); |
| 8138 | } else { |
| 8139 | clear_has_options(); |
| 8140 | } |
| 8141 | options_ = options; |
| 8142 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
| 8143 | } |
| 8144 | |
| 8145 | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
| 8146 | inline int EnumDescriptorProto::reserved_range_size() const { |
| 8147 | return reserved_range_.size(); |
| 8148 | } |
| 8149 | inline void EnumDescriptorProto::clear_reserved_range() { |
| 8150 | reserved_range_.Clear(); |
| 8151 | } |
| 8152 | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) { |
| 8153 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
| 8154 | return reserved_range_.Mutable(index); |
| 8155 | } |
| 8156 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange >* |
| 8157 | EnumDescriptorProto::mutable_reserved_range() { |
| 8158 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
| 8159 | return &reserved_range_; |
| 8160 | } |
| 8161 | inline const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const { |
| 8162 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
| 8163 | return reserved_range_.Get(index); |
| 8164 | } |
| 8165 | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() { |
| 8166 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
| 8167 | return reserved_range_.Add(); |
| 8168 | } |
| 8169 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange >& |
| 8170 | EnumDescriptorProto::reserved_range() const { |
| 8171 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
| 8172 | return reserved_range_; |
| 8173 | } |
| 8174 | |
| 8175 | // repeated string reserved_name = 5; |
| 8176 | inline int EnumDescriptorProto::reserved_name_size() const { |
| 8177 | return reserved_name_.size(); |
| 8178 | } |
| 8179 | inline void EnumDescriptorProto::clear_reserved_name() { |
| 8180 | reserved_name_.Clear(); |
| 8181 | } |
| 8182 | inline const ::std::string& EnumDescriptorProto::reserved_name(int index) const { |
| 8183 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8184 | return reserved_name_.Get(index); |
| 8185 | } |
| 8186 | inline ::std::string* EnumDescriptorProto::mutable_reserved_name(int index) { |
| 8187 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8188 | return reserved_name_.Mutable(index); |
| 8189 | } |
| 8190 | inline void EnumDescriptorProto::set_reserved_name(int index, const ::std::string& value) { |
| 8191 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8192 | reserved_name_.Mutable(index)->assign(value); |
| 8193 | } |
| 8194 | #if LANG_CXX11 |
| 8195 | inline void EnumDescriptorProto::set_reserved_name(int index, ::std::string&& value) { |
| 8196 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8197 | reserved_name_.Mutable(index)->assign(std::move(value)); |
| 8198 | } |
| 8199 | #endif |
| 8200 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { |
| 8201 | GOOGLE_DCHECK(value != NULL); |
| 8202 | reserved_name_.Mutable(index)->assign(value); |
| 8203 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8204 | } |
| 8205 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
| 8206 | reserved_name_.Mutable(index)->assign( |
| 8207 | reinterpret_cast<const char*>(value), size); |
| 8208 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8209 | } |
| 8210 | inline ::std::string* EnumDescriptorProto::add_reserved_name() { |
| 8211 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8212 | return reserved_name_.Add(); |
| 8213 | } |
| 8214 | inline void EnumDescriptorProto::add_reserved_name(const ::std::string& value) { |
| 8215 | reserved_name_.Add()->assign(value); |
| 8216 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8217 | } |
| 8218 | #if LANG_CXX11 |
| 8219 | inline void EnumDescriptorProto::add_reserved_name(::std::string&& value) { |
| 8220 | reserved_name_.Add(std::move(value)); |
| 8221 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8222 | } |
| 8223 | #endif |
| 8224 | inline void EnumDescriptorProto::add_reserved_name(const char* value) { |
| 8225 | GOOGLE_DCHECK(value != NULL); |
| 8226 | reserved_name_.Add()->assign(value); |
| 8227 | // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8228 | } |
| 8229 | inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) { |
| 8230 | reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 8231 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8232 | } |
| 8233 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 8234 | EnumDescriptorProto::reserved_name() const { |
| 8235 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8236 | return reserved_name_; |
| 8237 | } |
| 8238 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 8239 | EnumDescriptorProto::mutable_reserved_name() { |
| 8240 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
| 8241 | return &reserved_name_; |
| 8242 | } |
| 8243 | |
| 8244 | // ------------------------------------------------------------------- |
| 8245 | |
| 8246 | // EnumValueDescriptorProto |
| 8247 | |
| 8248 | // optional string name = 1; |
| 8249 | inline bool EnumValueDescriptorProto::has_name() const { |
| 8250 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 8251 | } |
| 8252 | inline void EnumValueDescriptorProto::set_has_name() { |
| 8253 | _has_bits_[0] |= 0x00000001u; |
| 8254 | } |
| 8255 | inline void EnumValueDescriptorProto::clear_has_name() { |
| 8256 | _has_bits_[0] &= ~0x00000001u; |
| 8257 | } |
| 8258 | inline void EnumValueDescriptorProto::clear_name() { |
| 8259 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8260 | clear_has_name(); |
| 8261 | } |
| 8262 | inline const ::std::string& EnumValueDescriptorProto::name() const { |
| 8263 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
| 8264 | return name_.Get(); |
| 8265 | } |
| 8266 | inline void EnumValueDescriptorProto::set_name(const ::std::string& value) { |
| 8267 | set_has_name(); |
| 8268 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 8269 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
| 8270 | } |
| 8271 | #if LANG_CXX11 |
| 8272 | inline void EnumValueDescriptorProto::set_name(::std::string&& value) { |
| 8273 | set_has_name(); |
| 8274 | name_.Set( |
| 8275 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 8276 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValueDescriptorProto.name) |
| 8277 | } |
| 8278 | #endif |
| 8279 | inline void EnumValueDescriptorProto::set_name(const char* value) { |
| 8280 | GOOGLE_DCHECK(value != NULL); |
| 8281 | set_has_name(); |
| 8282 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 8283 | GetArenaNoVirtual()); |
| 8284 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name) |
| 8285 | } |
| 8286 | inline void EnumValueDescriptorProto::set_name(const char* value, |
| 8287 | size_t size) { |
| 8288 | set_has_name(); |
| 8289 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8290 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8291 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name) |
| 8292 | } |
| 8293 | inline ::std::string* EnumValueDescriptorProto::mutable_name() { |
| 8294 | set_has_name(); |
| 8295 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
| 8296 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8297 | } |
| 8298 | inline ::std::string* EnumValueDescriptorProto::release_name() { |
| 8299 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
| 8300 | if (!has_name()) { |
| 8301 | return NULL; |
| 8302 | } |
| 8303 | clear_has_name(); |
| 8304 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8305 | } |
| 8306 | inline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) { |
| 8307 | if (name != NULL) { |
| 8308 | set_has_name(); |
| 8309 | } else { |
| 8310 | clear_has_name(); |
| 8311 | } |
| 8312 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 8313 | GetArenaNoVirtual()); |
| 8314 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
| 8315 | } |
| 8316 | inline ::std::string* EnumValueDescriptorProto::unsafe_arena_release_name() { |
| 8317 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValueDescriptorProto.name) |
| 8318 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8319 | clear_has_name(); |
| 8320 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8321 | GetArenaNoVirtual()); |
| 8322 | } |
| 8323 | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_name( |
| 8324 | ::std::string* name) { |
| 8325 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8326 | if (name != NULL) { |
| 8327 | set_has_name(); |
| 8328 | } else { |
| 8329 | clear_has_name(); |
| 8330 | } |
| 8331 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8332 | name, GetArenaNoVirtual()); |
| 8333 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
| 8334 | } |
| 8335 | |
| 8336 | // optional int32 number = 2; |
| 8337 | inline bool EnumValueDescriptorProto::has_number() const { |
| 8338 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 8339 | } |
| 8340 | inline void EnumValueDescriptorProto::set_has_number() { |
| 8341 | _has_bits_[0] |= 0x00000004u; |
| 8342 | } |
| 8343 | inline void EnumValueDescriptorProto::clear_has_number() { |
| 8344 | _has_bits_[0] &= ~0x00000004u; |
| 8345 | } |
| 8346 | inline void EnumValueDescriptorProto::clear_number() { |
| 8347 | number_ = 0; |
| 8348 | clear_has_number(); |
| 8349 | } |
| 8350 | inline ::google::protobuf::int32 EnumValueDescriptorProto::number() const { |
| 8351 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
| 8352 | return number_; |
| 8353 | } |
| 8354 | inline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) { |
| 8355 | set_has_number(); |
| 8356 | number_ = value; |
| 8357 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
| 8358 | } |
| 8359 | |
| 8360 | // optional .google.protobuf.EnumValueOptions options = 3; |
| 8361 | inline bool EnumValueDescriptorProto::has_options() const { |
| 8362 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 8363 | } |
| 8364 | inline void EnumValueDescriptorProto::set_has_options() { |
| 8365 | _has_bits_[0] |= 0x00000002u; |
| 8366 | } |
| 8367 | inline void EnumValueDescriptorProto::clear_has_options() { |
| 8368 | _has_bits_[0] &= ~0x00000002u; |
| 8369 | } |
| 8370 | inline void EnumValueDescriptorProto::clear_options() { |
| 8371 | if (options_ != NULL) options_->Clear(); |
| 8372 | clear_has_options(); |
| 8373 | } |
| 8374 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
| 8375 | return *options_; |
| 8376 | } |
| 8377 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const { |
| 8378 | const ::google::protobuf::EnumValueOptions* p = options_; |
| 8379 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
| 8380 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::EnumValueOptions*>( |
| 8381 | &::google::protobuf::_EnumValueOptions_default_instance_); |
| 8382 | } |
| 8383 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
| 8384 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
| 8385 | clear_has_options(); |
| 8386 | ::google::protobuf::EnumValueOptions* temp = options_; |
| 8387 | if (GetArenaNoVirtual() != NULL) { |
| 8388 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 8389 | } |
| 8390 | options_ = NULL; |
| 8391 | return temp; |
| 8392 | } |
| 8393 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
| 8394 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValueDescriptorProto.options) |
| 8395 | clear_has_options(); |
| 8396 | ::google::protobuf::EnumValueOptions* temp = options_; |
| 8397 | options_ = NULL; |
| 8398 | return temp; |
| 8399 | } |
| 8400 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() { |
| 8401 | set_has_options(); |
| 8402 | if (options_ == NULL) { |
| 8403 | auto* p = CreateMaybeMessage<::google::protobuf::EnumValueOptions>(GetArenaNoVirtual()); |
| 8404 | options_ = p; |
| 8405 | } |
| 8406 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
| 8407 | return options_; |
| 8408 | } |
| 8409 | inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) { |
| 8410 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8411 | if (message_arena == NULL) { |
| 8412 | delete options_; |
| 8413 | } |
| 8414 | if (options) { |
| 8415 | ::google::protobuf::Arena* submessage_arena = |
| 8416 | ::google::protobuf::Arena::GetArena(options); |
| 8417 | if (message_arena != submessage_arena) { |
| 8418 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 8419 | message_arena, options, submessage_arena); |
| 8420 | } |
| 8421 | set_has_options(); |
| 8422 | } else { |
| 8423 | clear_has_options(); |
| 8424 | } |
| 8425 | options_ = options; |
| 8426 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
| 8427 | } |
| 8428 | |
| 8429 | // ------------------------------------------------------------------- |
| 8430 | |
| 8431 | // ServiceDescriptorProto |
| 8432 | |
| 8433 | // optional string name = 1; |
| 8434 | inline bool ServiceDescriptorProto::has_name() const { |
| 8435 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 8436 | } |
| 8437 | inline void ServiceDescriptorProto::set_has_name() { |
| 8438 | _has_bits_[0] |= 0x00000001u; |
| 8439 | } |
| 8440 | inline void ServiceDescriptorProto::clear_has_name() { |
| 8441 | _has_bits_[0] &= ~0x00000001u; |
| 8442 | } |
| 8443 | inline void ServiceDescriptorProto::clear_name() { |
| 8444 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8445 | clear_has_name(); |
| 8446 | } |
| 8447 | inline const ::std::string& ServiceDescriptorProto::name() const { |
| 8448 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
| 8449 | return name_.Get(); |
| 8450 | } |
| 8451 | inline void ServiceDescriptorProto::set_name(const ::std::string& value) { |
| 8452 | set_has_name(); |
| 8453 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 8454 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
| 8455 | } |
| 8456 | #if LANG_CXX11 |
| 8457 | inline void ServiceDescriptorProto::set_name(::std::string&& value) { |
| 8458 | set_has_name(); |
| 8459 | name_.Set( |
| 8460 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 8461 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.ServiceDescriptorProto.name) |
| 8462 | } |
| 8463 | #endif |
| 8464 | inline void ServiceDescriptorProto::set_name(const char* value) { |
| 8465 | GOOGLE_DCHECK(value != NULL); |
| 8466 | set_has_name(); |
| 8467 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 8468 | GetArenaNoVirtual()); |
| 8469 | // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name) |
| 8470 | } |
| 8471 | inline void ServiceDescriptorProto::set_name(const char* value, |
| 8472 | size_t size) { |
| 8473 | set_has_name(); |
| 8474 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8475 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8476 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name) |
| 8477 | } |
| 8478 | inline ::std::string* ServiceDescriptorProto::mutable_name() { |
| 8479 | set_has_name(); |
| 8480 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
| 8481 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8482 | } |
| 8483 | inline ::std::string* ServiceDescriptorProto::release_name() { |
| 8484 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
| 8485 | if (!has_name()) { |
| 8486 | return NULL; |
| 8487 | } |
| 8488 | clear_has_name(); |
| 8489 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8490 | } |
| 8491 | inline void ServiceDescriptorProto::set_allocated_name(::std::string* name) { |
| 8492 | if (name != NULL) { |
| 8493 | set_has_name(); |
| 8494 | } else { |
| 8495 | clear_has_name(); |
| 8496 | } |
| 8497 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 8498 | GetArenaNoVirtual()); |
| 8499 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
| 8500 | } |
| 8501 | inline ::std::string* ServiceDescriptorProto::unsafe_arena_release_name() { |
| 8502 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.ServiceDescriptorProto.name) |
| 8503 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8504 | clear_has_name(); |
| 8505 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8506 | GetArenaNoVirtual()); |
| 8507 | } |
| 8508 | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_name( |
| 8509 | ::std::string* name) { |
| 8510 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8511 | if (name != NULL) { |
| 8512 | set_has_name(); |
| 8513 | } else { |
| 8514 | clear_has_name(); |
| 8515 | } |
| 8516 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8517 | name, GetArenaNoVirtual()); |
| 8518 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
| 8519 | } |
| 8520 | |
| 8521 | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| 8522 | inline int ServiceDescriptorProto::method_size() const { |
| 8523 | return method_.size(); |
| 8524 | } |
| 8525 | inline void ServiceDescriptorProto::clear_method() { |
| 8526 | method_.Clear(); |
| 8527 | } |
| 8528 | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) { |
| 8529 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
| 8530 | return method_.Mutable(index); |
| 8531 | } |
| 8532 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >* |
| 8533 | ServiceDescriptorProto::mutable_method() { |
| 8534 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
| 8535 | return &method_; |
| 8536 | } |
| 8537 | inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const { |
| 8538 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
| 8539 | return method_.Get(index); |
| 8540 | } |
| 8541 | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() { |
| 8542 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
| 8543 | return method_.Add(); |
| 8544 | } |
| 8545 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >& |
| 8546 | ServiceDescriptorProto::method() const { |
| 8547 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
| 8548 | return method_; |
| 8549 | } |
| 8550 | |
| 8551 | // optional .google.protobuf.ServiceOptions options = 3; |
| 8552 | inline bool ServiceDescriptorProto::has_options() const { |
| 8553 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 8554 | } |
| 8555 | inline void ServiceDescriptorProto::set_has_options() { |
| 8556 | _has_bits_[0] |= 0x00000002u; |
| 8557 | } |
| 8558 | inline void ServiceDescriptorProto::clear_has_options() { |
| 8559 | _has_bits_[0] &= ~0x00000002u; |
| 8560 | } |
| 8561 | inline void ServiceDescriptorProto::clear_options() { |
| 8562 | if (options_ != NULL) options_->Clear(); |
| 8563 | clear_has_options(); |
| 8564 | } |
| 8565 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
| 8566 | return *options_; |
| 8567 | } |
| 8568 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const { |
| 8569 | const ::google::protobuf::ServiceOptions* p = options_; |
| 8570 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
| 8571 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ServiceOptions*>( |
| 8572 | &::google::protobuf::_ServiceOptions_default_instance_); |
| 8573 | } |
| 8574 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() { |
| 8575 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
| 8576 | clear_has_options(); |
| 8577 | ::google::protobuf::ServiceOptions* temp = options_; |
| 8578 | if (GetArenaNoVirtual() != NULL) { |
| 8579 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 8580 | } |
| 8581 | options_ = NULL; |
| 8582 | return temp; |
| 8583 | } |
| 8584 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
| 8585 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.ServiceDescriptorProto.options) |
| 8586 | clear_has_options(); |
| 8587 | ::google::protobuf::ServiceOptions* temp = options_; |
| 8588 | options_ = NULL; |
| 8589 | return temp; |
| 8590 | } |
| 8591 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() { |
| 8592 | set_has_options(); |
| 8593 | if (options_ == NULL) { |
| 8594 | auto* p = CreateMaybeMessage<::google::protobuf::ServiceOptions>(GetArenaNoVirtual()); |
| 8595 | options_ = p; |
| 8596 | } |
| 8597 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
| 8598 | return options_; |
| 8599 | } |
| 8600 | inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) { |
| 8601 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8602 | if (message_arena == NULL) { |
| 8603 | delete options_; |
| 8604 | } |
| 8605 | if (options) { |
| 8606 | ::google::protobuf::Arena* submessage_arena = |
| 8607 | ::google::protobuf::Arena::GetArena(options); |
| 8608 | if (message_arena != submessage_arena) { |
| 8609 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 8610 | message_arena, options, submessage_arena); |
| 8611 | } |
| 8612 | set_has_options(); |
| 8613 | } else { |
| 8614 | clear_has_options(); |
| 8615 | } |
| 8616 | options_ = options; |
| 8617 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
| 8618 | } |
| 8619 | |
| 8620 | // ------------------------------------------------------------------- |
| 8621 | |
| 8622 | // MethodDescriptorProto |
| 8623 | |
| 8624 | // optional string name = 1; |
| 8625 | inline bool MethodDescriptorProto::has_name() const { |
| 8626 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 8627 | } |
| 8628 | inline void MethodDescriptorProto::set_has_name() { |
| 8629 | _has_bits_[0] |= 0x00000001u; |
| 8630 | } |
| 8631 | inline void MethodDescriptorProto::clear_has_name() { |
| 8632 | _has_bits_[0] &= ~0x00000001u; |
| 8633 | } |
| 8634 | inline void MethodDescriptorProto::clear_name() { |
| 8635 | name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8636 | clear_has_name(); |
| 8637 | } |
| 8638 | inline const ::std::string& MethodDescriptorProto::name() const { |
| 8639 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
| 8640 | return name_.Get(); |
| 8641 | } |
| 8642 | inline void MethodDescriptorProto::set_name(const ::std::string& value) { |
| 8643 | set_has_name(); |
| 8644 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 8645 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
| 8646 | } |
| 8647 | #if LANG_CXX11 |
| 8648 | inline void MethodDescriptorProto::set_name(::std::string&& value) { |
| 8649 | set_has_name(); |
| 8650 | name_.Set( |
| 8651 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 8652 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.name) |
| 8653 | } |
| 8654 | #endif |
| 8655 | inline void MethodDescriptorProto::set_name(const char* value) { |
| 8656 | GOOGLE_DCHECK(value != NULL); |
| 8657 | set_has_name(); |
| 8658 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 8659 | GetArenaNoVirtual()); |
| 8660 | // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name) |
| 8661 | } |
| 8662 | inline void MethodDescriptorProto::set_name(const char* value, |
| 8663 | size_t size) { |
| 8664 | set_has_name(); |
| 8665 | name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8666 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8667 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name) |
| 8668 | } |
| 8669 | inline ::std::string* MethodDescriptorProto::mutable_name() { |
| 8670 | set_has_name(); |
| 8671 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
| 8672 | return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8673 | } |
| 8674 | inline ::std::string* MethodDescriptorProto::release_name() { |
| 8675 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
| 8676 | if (!has_name()) { |
| 8677 | return NULL; |
| 8678 | } |
| 8679 | clear_has_name(); |
| 8680 | return name_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8681 | } |
| 8682 | inline void MethodDescriptorProto::set_allocated_name(::std::string* name) { |
| 8683 | if (name != NULL) { |
| 8684 | set_has_name(); |
| 8685 | } else { |
| 8686 | clear_has_name(); |
| 8687 | } |
| 8688 | name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name, |
| 8689 | GetArenaNoVirtual()); |
| 8690 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
| 8691 | } |
| 8692 | inline ::std::string* MethodDescriptorProto::unsafe_arena_release_name() { |
| 8693 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.MethodDescriptorProto.name) |
| 8694 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8695 | clear_has_name(); |
| 8696 | return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8697 | GetArenaNoVirtual()); |
| 8698 | } |
| 8699 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_name( |
| 8700 | ::std::string* name) { |
| 8701 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8702 | if (name != NULL) { |
| 8703 | set_has_name(); |
| 8704 | } else { |
| 8705 | clear_has_name(); |
| 8706 | } |
| 8707 | name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8708 | name, GetArenaNoVirtual()); |
| 8709 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.name) |
| 8710 | } |
| 8711 | |
| 8712 | // optional string input_type = 2; |
| 8713 | inline bool MethodDescriptorProto::has_input_type() const { |
| 8714 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 8715 | } |
| 8716 | inline void MethodDescriptorProto::set_has_input_type() { |
| 8717 | _has_bits_[0] |= 0x00000002u; |
| 8718 | } |
| 8719 | inline void MethodDescriptorProto::clear_has_input_type() { |
| 8720 | _has_bits_[0] &= ~0x00000002u; |
| 8721 | } |
| 8722 | inline void MethodDescriptorProto::clear_input_type() { |
| 8723 | input_type_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8724 | clear_has_input_type(); |
| 8725 | } |
| 8726 | inline const ::std::string& MethodDescriptorProto::input_type() const { |
| 8727 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
| 8728 | return input_type_.Get(); |
| 8729 | } |
| 8730 | inline void MethodDescriptorProto::set_input_type(const ::std::string& value) { |
| 8731 | set_has_input_type(); |
| 8732 | input_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 8733 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
| 8734 | } |
| 8735 | #if LANG_CXX11 |
| 8736 | inline void MethodDescriptorProto::set_input_type(::std::string&& value) { |
| 8737 | set_has_input_type(); |
| 8738 | input_type_.Set( |
| 8739 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 8740 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.input_type) |
| 8741 | } |
| 8742 | #endif |
| 8743 | inline void MethodDescriptorProto::set_input_type(const char* value) { |
| 8744 | GOOGLE_DCHECK(value != NULL); |
| 8745 | set_has_input_type(); |
| 8746 | input_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 8747 | GetArenaNoVirtual()); |
| 8748 | // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type) |
| 8749 | } |
| 8750 | inline void MethodDescriptorProto::set_input_type(const char* value, |
| 8751 | size_t size) { |
| 8752 | set_has_input_type(); |
| 8753 | input_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8754 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8755 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type) |
| 8756 | } |
| 8757 | inline ::std::string* MethodDescriptorProto::mutable_input_type() { |
| 8758 | set_has_input_type(); |
| 8759 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
| 8760 | return input_type_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8761 | } |
| 8762 | inline ::std::string* MethodDescriptorProto::release_input_type() { |
| 8763 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
| 8764 | if (!has_input_type()) { |
| 8765 | return NULL; |
| 8766 | } |
| 8767 | clear_has_input_type(); |
| 8768 | return input_type_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8769 | } |
| 8770 | inline void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) { |
| 8771 | if (input_type != NULL) { |
| 8772 | set_has_input_type(); |
| 8773 | } else { |
| 8774 | clear_has_input_type(); |
| 8775 | } |
| 8776 | input_type_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_type, |
| 8777 | GetArenaNoVirtual()); |
| 8778 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
| 8779 | } |
| 8780 | inline ::std::string* MethodDescriptorProto::unsafe_arena_release_input_type() { |
| 8781 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.MethodDescriptorProto.input_type) |
| 8782 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8783 | clear_has_input_type(); |
| 8784 | return input_type_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8785 | GetArenaNoVirtual()); |
| 8786 | } |
| 8787 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_input_type( |
| 8788 | ::std::string* input_type) { |
| 8789 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8790 | if (input_type != NULL) { |
| 8791 | set_has_input_type(); |
| 8792 | } else { |
| 8793 | clear_has_input_type(); |
| 8794 | } |
| 8795 | input_type_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8796 | input_type, GetArenaNoVirtual()); |
| 8797 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
| 8798 | } |
| 8799 | |
| 8800 | // optional string output_type = 3; |
| 8801 | inline bool MethodDescriptorProto::has_output_type() const { |
| 8802 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 8803 | } |
| 8804 | inline void MethodDescriptorProto::set_has_output_type() { |
| 8805 | _has_bits_[0] |= 0x00000004u; |
| 8806 | } |
| 8807 | inline void MethodDescriptorProto::clear_has_output_type() { |
| 8808 | _has_bits_[0] &= ~0x00000004u; |
| 8809 | } |
| 8810 | inline void MethodDescriptorProto::clear_output_type() { |
| 8811 | output_type_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8812 | clear_has_output_type(); |
| 8813 | } |
| 8814 | inline const ::std::string& MethodDescriptorProto::output_type() const { |
| 8815 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
| 8816 | return output_type_.Get(); |
| 8817 | } |
| 8818 | inline void MethodDescriptorProto::set_output_type(const ::std::string& value) { |
| 8819 | set_has_output_type(); |
| 8820 | output_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 8821 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
| 8822 | } |
| 8823 | #if LANG_CXX11 |
| 8824 | inline void MethodDescriptorProto::set_output_type(::std::string&& value) { |
| 8825 | set_has_output_type(); |
| 8826 | output_type_.Set( |
| 8827 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 8828 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.MethodDescriptorProto.output_type) |
| 8829 | } |
| 8830 | #endif |
| 8831 | inline void MethodDescriptorProto::set_output_type(const char* value) { |
| 8832 | GOOGLE_DCHECK(value != NULL); |
| 8833 | set_has_output_type(); |
| 8834 | output_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 8835 | GetArenaNoVirtual()); |
| 8836 | // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type) |
| 8837 | } |
| 8838 | inline void MethodDescriptorProto::set_output_type(const char* value, |
| 8839 | size_t size) { |
| 8840 | set_has_output_type(); |
| 8841 | output_type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 8842 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 8843 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type) |
| 8844 | } |
| 8845 | inline ::std::string* MethodDescriptorProto::mutable_output_type() { |
| 8846 | set_has_output_type(); |
| 8847 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
| 8848 | return output_type_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8849 | } |
| 8850 | inline ::std::string* MethodDescriptorProto::release_output_type() { |
| 8851 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
| 8852 | if (!has_output_type()) { |
| 8853 | return NULL; |
| 8854 | } |
| 8855 | clear_has_output_type(); |
| 8856 | return output_type_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 8857 | } |
| 8858 | inline void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) { |
| 8859 | if (output_type != NULL) { |
| 8860 | set_has_output_type(); |
| 8861 | } else { |
| 8862 | clear_has_output_type(); |
| 8863 | } |
| 8864 | output_type_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_type, |
| 8865 | GetArenaNoVirtual()); |
| 8866 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
| 8867 | } |
| 8868 | inline ::std::string* MethodDescriptorProto::unsafe_arena_release_output_type() { |
| 8869 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.MethodDescriptorProto.output_type) |
| 8870 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8871 | clear_has_output_type(); |
| 8872 | return output_type_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8873 | GetArenaNoVirtual()); |
| 8874 | } |
| 8875 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_output_type( |
| 8876 | ::std::string* output_type) { |
| 8877 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 8878 | if (output_type != NULL) { |
| 8879 | set_has_output_type(); |
| 8880 | } else { |
| 8881 | clear_has_output_type(); |
| 8882 | } |
| 8883 | output_type_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 8884 | output_type, GetArenaNoVirtual()); |
| 8885 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
| 8886 | } |
| 8887 | |
| 8888 | // optional .google.protobuf.MethodOptions options = 4; |
| 8889 | inline bool MethodDescriptorProto::has_options() const { |
| 8890 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 8891 | } |
| 8892 | inline void MethodDescriptorProto::set_has_options() { |
| 8893 | _has_bits_[0] |= 0x00000008u; |
| 8894 | } |
| 8895 | inline void MethodDescriptorProto::clear_has_options() { |
| 8896 | _has_bits_[0] &= ~0x00000008u; |
| 8897 | } |
| 8898 | inline void MethodDescriptorProto::clear_options() { |
| 8899 | if (options_ != NULL) options_->Clear(); |
| 8900 | clear_has_options(); |
| 8901 | } |
| 8902 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::_internal_options() const { |
| 8903 | return *options_; |
| 8904 | } |
| 8905 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const { |
| 8906 | const ::google::protobuf::MethodOptions* p = options_; |
| 8907 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
| 8908 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::MethodOptions*>( |
| 8909 | &::google::protobuf::_MethodOptions_default_instance_); |
| 8910 | } |
| 8911 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() { |
| 8912 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
| 8913 | clear_has_options(); |
| 8914 | ::google::protobuf::MethodOptions* temp = options_; |
| 8915 | if (GetArenaNoVirtual() != NULL) { |
| 8916 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
| 8917 | } |
| 8918 | options_ = NULL; |
| 8919 | return temp; |
| 8920 | } |
| 8921 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
| 8922 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.MethodDescriptorProto.options) |
| 8923 | clear_has_options(); |
| 8924 | ::google::protobuf::MethodOptions* temp = options_; |
| 8925 | options_ = NULL; |
| 8926 | return temp; |
| 8927 | } |
| 8928 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() { |
| 8929 | set_has_options(); |
| 8930 | if (options_ == NULL) { |
| 8931 | auto* p = CreateMaybeMessage<::google::protobuf::MethodOptions>(GetArenaNoVirtual()); |
| 8932 | options_ = p; |
| 8933 | } |
| 8934 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
| 8935 | return options_; |
| 8936 | } |
| 8937 | inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) { |
| 8938 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 8939 | if (message_arena == NULL) { |
| 8940 | delete options_; |
| 8941 | } |
| 8942 | if (options) { |
| 8943 | ::google::protobuf::Arena* submessage_arena = |
| 8944 | ::google::protobuf::Arena::GetArena(options); |
| 8945 | if (message_arena != submessage_arena) { |
| 8946 | options = ::google::protobuf::internal::GetOwnedMessage( |
| 8947 | message_arena, options, submessage_arena); |
| 8948 | } |
| 8949 | set_has_options(); |
| 8950 | } else { |
| 8951 | clear_has_options(); |
| 8952 | } |
| 8953 | options_ = options; |
| 8954 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
| 8955 | } |
| 8956 | |
| 8957 | // optional bool client_streaming = 5 [default = false]; |
| 8958 | inline bool MethodDescriptorProto::has_client_streaming() const { |
| 8959 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 8960 | } |
| 8961 | inline void MethodDescriptorProto::set_has_client_streaming() { |
| 8962 | _has_bits_[0] |= 0x00000010u; |
| 8963 | } |
| 8964 | inline void MethodDescriptorProto::clear_has_client_streaming() { |
| 8965 | _has_bits_[0] &= ~0x00000010u; |
| 8966 | } |
| 8967 | inline void MethodDescriptorProto::clear_client_streaming() { |
| 8968 | client_streaming_ = false; |
| 8969 | clear_has_client_streaming(); |
| 8970 | } |
| 8971 | inline bool MethodDescriptorProto::client_streaming() const { |
| 8972 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
| 8973 | return client_streaming_; |
| 8974 | } |
| 8975 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
| 8976 | set_has_client_streaming(); |
| 8977 | client_streaming_ = value; |
| 8978 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
| 8979 | } |
| 8980 | |
| 8981 | // optional bool server_streaming = 6 [default = false]; |
| 8982 | inline bool MethodDescriptorProto::has_server_streaming() const { |
| 8983 | return (_has_bits_[0] & 0x00000020u) != 0; |
| 8984 | } |
| 8985 | inline void MethodDescriptorProto::set_has_server_streaming() { |
| 8986 | _has_bits_[0] |= 0x00000020u; |
| 8987 | } |
| 8988 | inline void MethodDescriptorProto::clear_has_server_streaming() { |
| 8989 | _has_bits_[0] &= ~0x00000020u; |
| 8990 | } |
| 8991 | inline void MethodDescriptorProto::clear_server_streaming() { |
| 8992 | server_streaming_ = false; |
| 8993 | clear_has_server_streaming(); |
| 8994 | } |
| 8995 | inline bool MethodDescriptorProto::server_streaming() const { |
| 8996 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
| 8997 | return server_streaming_; |
| 8998 | } |
| 8999 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
| 9000 | set_has_server_streaming(); |
| 9001 | server_streaming_ = value; |
| 9002 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
| 9003 | } |
| 9004 | |
| 9005 | // ------------------------------------------------------------------- |
| 9006 | |
| 9007 | // FileOptions |
| 9008 | |
| 9009 | // optional string java_package = 1; |
| 9010 | inline bool FileOptions::has_java_package() const { |
| 9011 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 9012 | } |
| 9013 | inline void FileOptions::set_has_java_package() { |
| 9014 | _has_bits_[0] |= 0x00000001u; |
| 9015 | } |
| 9016 | inline void FileOptions::clear_has_java_package() { |
| 9017 | _has_bits_[0] &= ~0x00000001u; |
| 9018 | } |
| 9019 | inline void FileOptions::clear_java_package() { |
| 9020 | java_package_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9021 | clear_has_java_package(); |
| 9022 | } |
| 9023 | inline const ::std::string& FileOptions::java_package() const { |
| 9024 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
| 9025 | return java_package_.Get(); |
| 9026 | } |
| 9027 | inline void FileOptions::set_java_package(const ::std::string& value) { |
| 9028 | set_has_java_package(); |
| 9029 | java_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9030 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
| 9031 | } |
| 9032 | #if LANG_CXX11 |
| 9033 | inline void FileOptions::set_java_package(::std::string&& value) { |
| 9034 | set_has_java_package(); |
| 9035 | java_package_.Set( |
| 9036 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9037 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_package) |
| 9038 | } |
| 9039 | #endif |
| 9040 | inline void FileOptions::set_java_package(const char* value) { |
| 9041 | GOOGLE_DCHECK(value != NULL); |
| 9042 | set_has_java_package(); |
| 9043 | java_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9044 | GetArenaNoVirtual()); |
| 9045 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package) |
| 9046 | } |
| 9047 | inline void FileOptions::set_java_package(const char* value, |
| 9048 | size_t size) { |
| 9049 | set_has_java_package(); |
| 9050 | java_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9051 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9052 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package) |
| 9053 | } |
| 9054 | inline ::std::string* FileOptions::mutable_java_package() { |
| 9055 | set_has_java_package(); |
| 9056 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
| 9057 | return java_package_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9058 | } |
| 9059 | inline ::std::string* FileOptions::release_java_package() { |
| 9060 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
| 9061 | if (!has_java_package()) { |
| 9062 | return NULL; |
| 9063 | } |
| 9064 | clear_has_java_package(); |
| 9065 | return java_package_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9066 | } |
| 9067 | inline void FileOptions::set_allocated_java_package(::std::string* java_package) { |
| 9068 | if (java_package != NULL) { |
| 9069 | set_has_java_package(); |
| 9070 | } else { |
| 9071 | clear_has_java_package(); |
| 9072 | } |
| 9073 | java_package_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_package, |
| 9074 | GetArenaNoVirtual()); |
| 9075 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
| 9076 | } |
| 9077 | inline ::std::string* FileOptions::unsafe_arena_release_java_package() { |
| 9078 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.java_package) |
| 9079 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9080 | clear_has_java_package(); |
| 9081 | return java_package_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9082 | GetArenaNoVirtual()); |
| 9083 | } |
| 9084 | inline void FileOptions::unsafe_arena_set_allocated_java_package( |
| 9085 | ::std::string* java_package) { |
| 9086 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9087 | if (java_package != NULL) { |
| 9088 | set_has_java_package(); |
| 9089 | } else { |
| 9090 | clear_has_java_package(); |
| 9091 | } |
| 9092 | java_package_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9093 | java_package, GetArenaNoVirtual()); |
| 9094 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.java_package) |
| 9095 | } |
| 9096 | |
| 9097 | // optional string java_outer_classname = 8; |
| 9098 | inline bool FileOptions::has_java_outer_classname() const { |
| 9099 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 9100 | } |
| 9101 | inline void FileOptions::set_has_java_outer_classname() { |
| 9102 | _has_bits_[0] |= 0x00000002u; |
| 9103 | } |
| 9104 | inline void FileOptions::clear_has_java_outer_classname() { |
| 9105 | _has_bits_[0] &= ~0x00000002u; |
| 9106 | } |
| 9107 | inline void FileOptions::clear_java_outer_classname() { |
| 9108 | java_outer_classname_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9109 | clear_has_java_outer_classname(); |
| 9110 | } |
| 9111 | inline const ::std::string& FileOptions::java_outer_classname() const { |
| 9112 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
| 9113 | return java_outer_classname_.Get(); |
| 9114 | } |
| 9115 | inline void FileOptions::set_java_outer_classname(const ::std::string& value) { |
| 9116 | set_has_java_outer_classname(); |
| 9117 | java_outer_classname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9118 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
| 9119 | } |
| 9120 | #if LANG_CXX11 |
| 9121 | inline void FileOptions::set_java_outer_classname(::std::string&& value) { |
| 9122 | set_has_java_outer_classname(); |
| 9123 | java_outer_classname_.Set( |
| 9124 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9125 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.java_outer_classname) |
| 9126 | } |
| 9127 | #endif |
| 9128 | inline void FileOptions::set_java_outer_classname(const char* value) { |
| 9129 | GOOGLE_DCHECK(value != NULL); |
| 9130 | set_has_java_outer_classname(); |
| 9131 | java_outer_classname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9132 | GetArenaNoVirtual()); |
| 9133 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname) |
| 9134 | } |
| 9135 | inline void FileOptions::set_java_outer_classname(const char* value, |
| 9136 | size_t size) { |
| 9137 | set_has_java_outer_classname(); |
| 9138 | java_outer_classname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9139 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9140 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname) |
| 9141 | } |
| 9142 | inline ::std::string* FileOptions::mutable_java_outer_classname() { |
| 9143 | set_has_java_outer_classname(); |
| 9144 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
| 9145 | return java_outer_classname_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9146 | } |
| 9147 | inline ::std::string* FileOptions::release_java_outer_classname() { |
| 9148 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
| 9149 | if (!has_java_outer_classname()) { |
| 9150 | return NULL; |
| 9151 | } |
| 9152 | clear_has_java_outer_classname(); |
| 9153 | return java_outer_classname_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9154 | } |
| 9155 | inline void FileOptions::set_allocated_java_outer_classname(::std::string* java_outer_classname) { |
| 9156 | if (java_outer_classname != NULL) { |
| 9157 | set_has_java_outer_classname(); |
| 9158 | } else { |
| 9159 | clear_has_java_outer_classname(); |
| 9160 | } |
| 9161 | java_outer_classname_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_outer_classname, |
| 9162 | GetArenaNoVirtual()); |
| 9163 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
| 9164 | } |
| 9165 | inline ::std::string* FileOptions::unsafe_arena_release_java_outer_classname() { |
| 9166 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.java_outer_classname) |
| 9167 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9168 | clear_has_java_outer_classname(); |
| 9169 | return java_outer_classname_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9170 | GetArenaNoVirtual()); |
| 9171 | } |
| 9172 | inline void FileOptions::unsafe_arena_set_allocated_java_outer_classname( |
| 9173 | ::std::string* java_outer_classname) { |
| 9174 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9175 | if (java_outer_classname != NULL) { |
| 9176 | set_has_java_outer_classname(); |
| 9177 | } else { |
| 9178 | clear_has_java_outer_classname(); |
| 9179 | } |
| 9180 | java_outer_classname_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9181 | java_outer_classname, GetArenaNoVirtual()); |
| 9182 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
| 9183 | } |
| 9184 | |
| 9185 | // optional bool java_multiple_files = 10 [default = false]; |
| 9186 | inline bool FileOptions::has_java_multiple_files() const { |
| 9187 | return (_has_bits_[0] & 0x00000400u) != 0; |
| 9188 | } |
| 9189 | inline void FileOptions::set_has_java_multiple_files() { |
| 9190 | _has_bits_[0] |= 0x00000400u; |
| 9191 | } |
| 9192 | inline void FileOptions::clear_has_java_multiple_files() { |
| 9193 | _has_bits_[0] &= ~0x00000400u; |
| 9194 | } |
| 9195 | inline void FileOptions::clear_java_multiple_files() { |
| 9196 | java_multiple_files_ = false; |
| 9197 | clear_has_java_multiple_files(); |
| 9198 | } |
| 9199 | inline bool FileOptions::java_multiple_files() const { |
| 9200 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
| 9201 | return java_multiple_files_; |
| 9202 | } |
| 9203 | inline void FileOptions::set_java_multiple_files(bool value) { |
| 9204 | set_has_java_multiple_files(); |
| 9205 | java_multiple_files_ = value; |
| 9206 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
| 9207 | } |
| 9208 | |
| 9209 | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 9210 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
| 9211 | return (_has_bits_[0] & 0x00000800u) != 0; |
| 9212 | } |
| 9213 | inline void FileOptions::set_has_java_generate_equals_and_hash() { |
| 9214 | _has_bits_[0] |= 0x00000800u; |
| 9215 | } |
| 9216 | inline void FileOptions::clear_has_java_generate_equals_and_hash() { |
| 9217 | _has_bits_[0] &= ~0x00000800u; |
| 9218 | } |
| 9219 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
| 9220 | java_generate_equals_and_hash_ = false; |
| 9221 | clear_has_java_generate_equals_and_hash(); |
| 9222 | } |
| 9223 | inline bool FileOptions::java_generate_equals_and_hash() const { |
| 9224 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
| 9225 | return java_generate_equals_and_hash_; |
| 9226 | } |
| 9227 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
| 9228 | set_has_java_generate_equals_and_hash(); |
| 9229 | java_generate_equals_and_hash_ = value; |
| 9230 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
| 9231 | } |
| 9232 | |
| 9233 | // optional bool java_string_check_utf8 = 27 [default = false]; |
| 9234 | inline bool FileOptions::has_java_string_check_utf8() const { |
| 9235 | return (_has_bits_[0] & 0x00001000u) != 0; |
| 9236 | } |
| 9237 | inline void FileOptions::set_has_java_string_check_utf8() { |
| 9238 | _has_bits_[0] |= 0x00001000u; |
| 9239 | } |
| 9240 | inline void FileOptions::clear_has_java_string_check_utf8() { |
| 9241 | _has_bits_[0] &= ~0x00001000u; |
| 9242 | } |
| 9243 | inline void FileOptions::clear_java_string_check_utf8() { |
| 9244 | java_string_check_utf8_ = false; |
| 9245 | clear_has_java_string_check_utf8(); |
| 9246 | } |
| 9247 | inline bool FileOptions::java_string_check_utf8() const { |
| 9248 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
| 9249 | return java_string_check_utf8_; |
| 9250 | } |
| 9251 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
| 9252 | set_has_java_string_check_utf8(); |
| 9253 | java_string_check_utf8_ = value; |
| 9254 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
| 9255 | } |
| 9256 | |
| 9257 | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
| 9258 | inline bool FileOptions::has_optimize_for() const { |
| 9259 | return (_has_bits_[0] & 0x00080000u) != 0; |
| 9260 | } |
| 9261 | inline void FileOptions::set_has_optimize_for() { |
| 9262 | _has_bits_[0] |= 0x00080000u; |
| 9263 | } |
| 9264 | inline void FileOptions::clear_has_optimize_for() { |
| 9265 | _has_bits_[0] &= ~0x00080000u; |
| 9266 | } |
| 9267 | inline void FileOptions::clear_optimize_for() { |
| 9268 | optimize_for_ = 1; |
| 9269 | clear_has_optimize_for(); |
| 9270 | } |
| 9271 | inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
| 9272 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
| 9273 | return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_); |
| 9274 | } |
| 9275 | inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) { |
| 9276 | assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
| 9277 | set_has_optimize_for(); |
| 9278 | optimize_for_ = value; |
| 9279 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
| 9280 | } |
| 9281 | |
| 9282 | // optional string go_package = 11; |
| 9283 | inline bool FileOptions::has_go_package() const { |
| 9284 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 9285 | } |
| 9286 | inline void FileOptions::set_has_go_package() { |
| 9287 | _has_bits_[0] |= 0x00000004u; |
| 9288 | } |
| 9289 | inline void FileOptions::clear_has_go_package() { |
| 9290 | _has_bits_[0] &= ~0x00000004u; |
| 9291 | } |
| 9292 | inline void FileOptions::clear_go_package() { |
| 9293 | go_package_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9294 | clear_has_go_package(); |
| 9295 | } |
| 9296 | inline const ::std::string& FileOptions::go_package() const { |
| 9297 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
| 9298 | return go_package_.Get(); |
| 9299 | } |
| 9300 | inline void FileOptions::set_go_package(const ::std::string& value) { |
| 9301 | set_has_go_package(); |
| 9302 | go_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9303 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
| 9304 | } |
| 9305 | #if LANG_CXX11 |
| 9306 | inline void FileOptions::set_go_package(::std::string&& value) { |
| 9307 | set_has_go_package(); |
| 9308 | go_package_.Set( |
| 9309 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9310 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.go_package) |
| 9311 | } |
| 9312 | #endif |
| 9313 | inline void FileOptions::set_go_package(const char* value) { |
| 9314 | GOOGLE_DCHECK(value != NULL); |
| 9315 | set_has_go_package(); |
| 9316 | go_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9317 | GetArenaNoVirtual()); |
| 9318 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package) |
| 9319 | } |
| 9320 | inline void FileOptions::set_go_package(const char* value, |
| 9321 | size_t size) { |
| 9322 | set_has_go_package(); |
| 9323 | go_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9324 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9325 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package) |
| 9326 | } |
| 9327 | inline ::std::string* FileOptions::mutable_go_package() { |
| 9328 | set_has_go_package(); |
| 9329 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
| 9330 | return go_package_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9331 | } |
| 9332 | inline ::std::string* FileOptions::release_go_package() { |
| 9333 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
| 9334 | if (!has_go_package()) { |
| 9335 | return NULL; |
| 9336 | } |
| 9337 | clear_has_go_package(); |
| 9338 | return go_package_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9339 | } |
| 9340 | inline void FileOptions::set_allocated_go_package(::std::string* go_package) { |
| 9341 | if (go_package != NULL) { |
| 9342 | set_has_go_package(); |
| 9343 | } else { |
| 9344 | clear_has_go_package(); |
| 9345 | } |
| 9346 | go_package_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), go_package, |
| 9347 | GetArenaNoVirtual()); |
| 9348 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
| 9349 | } |
| 9350 | inline ::std::string* FileOptions::unsafe_arena_release_go_package() { |
| 9351 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.go_package) |
| 9352 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9353 | clear_has_go_package(); |
| 9354 | return go_package_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9355 | GetArenaNoVirtual()); |
| 9356 | } |
| 9357 | inline void FileOptions::unsafe_arena_set_allocated_go_package( |
| 9358 | ::std::string* go_package) { |
| 9359 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9360 | if (go_package != NULL) { |
| 9361 | set_has_go_package(); |
| 9362 | } else { |
| 9363 | clear_has_go_package(); |
| 9364 | } |
| 9365 | go_package_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9366 | go_package, GetArenaNoVirtual()); |
| 9367 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.go_package) |
| 9368 | } |
| 9369 | |
| 9370 | // optional bool cc_generic_services = 16 [default = false]; |
| 9371 | inline bool FileOptions::has_cc_generic_services() const { |
| 9372 | return (_has_bits_[0] & 0x00002000u) != 0; |
| 9373 | } |
| 9374 | inline void FileOptions::set_has_cc_generic_services() { |
| 9375 | _has_bits_[0] |= 0x00002000u; |
| 9376 | } |
| 9377 | inline void FileOptions::clear_has_cc_generic_services() { |
| 9378 | _has_bits_[0] &= ~0x00002000u; |
| 9379 | } |
| 9380 | inline void FileOptions::clear_cc_generic_services() { |
| 9381 | cc_generic_services_ = false; |
| 9382 | clear_has_cc_generic_services(); |
| 9383 | } |
| 9384 | inline bool FileOptions::cc_generic_services() const { |
| 9385 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
| 9386 | return cc_generic_services_; |
| 9387 | } |
| 9388 | inline void FileOptions::set_cc_generic_services(bool value) { |
| 9389 | set_has_cc_generic_services(); |
| 9390 | cc_generic_services_ = value; |
| 9391 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
| 9392 | } |
| 9393 | |
| 9394 | // optional bool java_generic_services = 17 [default = false]; |
| 9395 | inline bool FileOptions::has_java_generic_services() const { |
| 9396 | return (_has_bits_[0] & 0x00004000u) != 0; |
| 9397 | } |
| 9398 | inline void FileOptions::set_has_java_generic_services() { |
| 9399 | _has_bits_[0] |= 0x00004000u; |
| 9400 | } |
| 9401 | inline void FileOptions::clear_has_java_generic_services() { |
| 9402 | _has_bits_[0] &= ~0x00004000u; |
| 9403 | } |
| 9404 | inline void FileOptions::clear_java_generic_services() { |
| 9405 | java_generic_services_ = false; |
| 9406 | clear_has_java_generic_services(); |
| 9407 | } |
| 9408 | inline bool FileOptions::java_generic_services() const { |
| 9409 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
| 9410 | return java_generic_services_; |
| 9411 | } |
| 9412 | inline void FileOptions::set_java_generic_services(bool value) { |
| 9413 | set_has_java_generic_services(); |
| 9414 | java_generic_services_ = value; |
| 9415 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
| 9416 | } |
| 9417 | |
| 9418 | // optional bool py_generic_services = 18 [default = false]; |
| 9419 | inline bool FileOptions::has_py_generic_services() const { |
| 9420 | return (_has_bits_[0] & 0x00008000u) != 0; |
| 9421 | } |
| 9422 | inline void FileOptions::set_has_py_generic_services() { |
| 9423 | _has_bits_[0] |= 0x00008000u; |
| 9424 | } |
| 9425 | inline void FileOptions::clear_has_py_generic_services() { |
| 9426 | _has_bits_[0] &= ~0x00008000u; |
| 9427 | } |
| 9428 | inline void FileOptions::clear_py_generic_services() { |
| 9429 | py_generic_services_ = false; |
| 9430 | clear_has_py_generic_services(); |
| 9431 | } |
| 9432 | inline bool FileOptions::py_generic_services() const { |
| 9433 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
| 9434 | return py_generic_services_; |
| 9435 | } |
| 9436 | inline void FileOptions::set_py_generic_services(bool value) { |
| 9437 | set_has_py_generic_services(); |
| 9438 | py_generic_services_ = value; |
| 9439 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
| 9440 | } |
| 9441 | |
| 9442 | // optional bool php_generic_services = 42 [default = false]; |
| 9443 | inline bool FileOptions::has_php_generic_services() const { |
| 9444 | return (_has_bits_[0] & 0x00010000u) != 0; |
| 9445 | } |
| 9446 | inline void FileOptions::set_has_php_generic_services() { |
| 9447 | _has_bits_[0] |= 0x00010000u; |
| 9448 | } |
| 9449 | inline void FileOptions::clear_has_php_generic_services() { |
| 9450 | _has_bits_[0] &= ~0x00010000u; |
| 9451 | } |
| 9452 | inline void FileOptions::clear_php_generic_services() { |
| 9453 | php_generic_services_ = false; |
| 9454 | clear_has_php_generic_services(); |
| 9455 | } |
| 9456 | inline bool FileOptions::php_generic_services() const { |
| 9457 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services) |
| 9458 | return php_generic_services_; |
| 9459 | } |
| 9460 | inline void FileOptions::set_php_generic_services(bool value) { |
| 9461 | set_has_php_generic_services(); |
| 9462 | php_generic_services_ = value; |
| 9463 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services) |
| 9464 | } |
| 9465 | |
| 9466 | // optional bool deprecated = 23 [default = false]; |
| 9467 | inline bool FileOptions::has_deprecated() const { |
| 9468 | return (_has_bits_[0] & 0x00020000u) != 0; |
| 9469 | } |
| 9470 | inline void FileOptions::set_has_deprecated() { |
| 9471 | _has_bits_[0] |= 0x00020000u; |
| 9472 | } |
| 9473 | inline void FileOptions::clear_has_deprecated() { |
| 9474 | _has_bits_[0] &= ~0x00020000u; |
| 9475 | } |
| 9476 | inline void FileOptions::clear_deprecated() { |
| 9477 | deprecated_ = false; |
| 9478 | clear_has_deprecated(); |
| 9479 | } |
| 9480 | inline bool FileOptions::deprecated() const { |
| 9481 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
| 9482 | return deprecated_; |
| 9483 | } |
| 9484 | inline void FileOptions::set_deprecated(bool value) { |
| 9485 | set_has_deprecated(); |
| 9486 | deprecated_ = value; |
| 9487 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
| 9488 | } |
| 9489 | |
| 9490 | // optional bool cc_enable_arenas = 31 [default = false]; |
| 9491 | inline bool FileOptions::has_cc_enable_arenas() const { |
| 9492 | return (_has_bits_[0] & 0x00040000u) != 0; |
| 9493 | } |
| 9494 | inline void FileOptions::set_has_cc_enable_arenas() { |
| 9495 | _has_bits_[0] |= 0x00040000u; |
| 9496 | } |
| 9497 | inline void FileOptions::clear_has_cc_enable_arenas() { |
| 9498 | _has_bits_[0] &= ~0x00040000u; |
| 9499 | } |
| 9500 | inline void FileOptions::clear_cc_enable_arenas() { |
| 9501 | cc_enable_arenas_ = false; |
| 9502 | clear_has_cc_enable_arenas(); |
| 9503 | } |
| 9504 | inline bool FileOptions::cc_enable_arenas() const { |
| 9505 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
| 9506 | return cc_enable_arenas_; |
| 9507 | } |
| 9508 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
| 9509 | set_has_cc_enable_arenas(); |
| 9510 | cc_enable_arenas_ = value; |
| 9511 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
| 9512 | } |
| 9513 | |
| 9514 | // optional string objc_class_prefix = 36; |
| 9515 | inline bool FileOptions::has_objc_class_prefix() const { |
| 9516 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 9517 | } |
| 9518 | inline void FileOptions::set_has_objc_class_prefix() { |
| 9519 | _has_bits_[0] |= 0x00000008u; |
| 9520 | } |
| 9521 | inline void FileOptions::clear_has_objc_class_prefix() { |
| 9522 | _has_bits_[0] &= ~0x00000008u; |
| 9523 | } |
| 9524 | inline void FileOptions::clear_objc_class_prefix() { |
| 9525 | objc_class_prefix_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9526 | clear_has_objc_class_prefix(); |
| 9527 | } |
| 9528 | inline const ::std::string& FileOptions::objc_class_prefix() const { |
| 9529 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
| 9530 | return objc_class_prefix_.Get(); |
| 9531 | } |
| 9532 | inline void FileOptions::set_objc_class_prefix(const ::std::string& value) { |
| 9533 | set_has_objc_class_prefix(); |
| 9534 | objc_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9535 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
| 9536 | } |
| 9537 | #if LANG_CXX11 |
| 9538 | inline void FileOptions::set_objc_class_prefix(::std::string&& value) { |
| 9539 | set_has_objc_class_prefix(); |
| 9540 | objc_class_prefix_.Set( |
| 9541 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9542 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.objc_class_prefix) |
| 9543 | } |
| 9544 | #endif |
| 9545 | inline void FileOptions::set_objc_class_prefix(const char* value) { |
| 9546 | GOOGLE_DCHECK(value != NULL); |
| 9547 | set_has_objc_class_prefix(); |
| 9548 | objc_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9549 | GetArenaNoVirtual()); |
| 9550 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_class_prefix) |
| 9551 | } |
| 9552 | inline void FileOptions::set_objc_class_prefix(const char* value, |
| 9553 | size_t size) { |
| 9554 | set_has_objc_class_prefix(); |
| 9555 | objc_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9556 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9557 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc_class_prefix) |
| 9558 | } |
| 9559 | inline ::std::string* FileOptions::mutable_objc_class_prefix() { |
| 9560 | set_has_objc_class_prefix(); |
| 9561 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
| 9562 | return objc_class_prefix_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9563 | } |
| 9564 | inline ::std::string* FileOptions::release_objc_class_prefix() { |
| 9565 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
| 9566 | if (!has_objc_class_prefix()) { |
| 9567 | return NULL; |
| 9568 | } |
| 9569 | clear_has_objc_class_prefix(); |
| 9570 | return objc_class_prefix_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9571 | } |
| 9572 | inline void FileOptions::set_allocated_objc_class_prefix(::std::string* objc_class_prefix) { |
| 9573 | if (objc_class_prefix != NULL) { |
| 9574 | set_has_objc_class_prefix(); |
| 9575 | } else { |
| 9576 | clear_has_objc_class_prefix(); |
| 9577 | } |
| 9578 | objc_class_prefix_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), objc_class_prefix, |
| 9579 | GetArenaNoVirtual()); |
| 9580 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
| 9581 | } |
| 9582 | inline ::std::string* FileOptions::unsafe_arena_release_objc_class_prefix() { |
| 9583 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.objc_class_prefix) |
| 9584 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9585 | clear_has_objc_class_prefix(); |
| 9586 | return objc_class_prefix_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9587 | GetArenaNoVirtual()); |
| 9588 | } |
| 9589 | inline void FileOptions::unsafe_arena_set_allocated_objc_class_prefix( |
| 9590 | ::std::string* objc_class_prefix) { |
| 9591 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9592 | if (objc_class_prefix != NULL) { |
| 9593 | set_has_objc_class_prefix(); |
| 9594 | } else { |
| 9595 | clear_has_objc_class_prefix(); |
| 9596 | } |
| 9597 | objc_class_prefix_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9598 | objc_class_prefix, GetArenaNoVirtual()); |
| 9599 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
| 9600 | } |
| 9601 | |
| 9602 | // optional string csharp_namespace = 37; |
| 9603 | inline bool FileOptions::has_csharp_namespace() const { |
| 9604 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 9605 | } |
| 9606 | inline void FileOptions::set_has_csharp_namespace() { |
| 9607 | _has_bits_[0] |= 0x00000010u; |
| 9608 | } |
| 9609 | inline void FileOptions::clear_has_csharp_namespace() { |
| 9610 | _has_bits_[0] &= ~0x00000010u; |
| 9611 | } |
| 9612 | inline void FileOptions::clear_csharp_namespace() { |
| 9613 | csharp_namespace_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9614 | clear_has_csharp_namespace(); |
| 9615 | } |
| 9616 | inline const ::std::string& FileOptions::csharp_namespace() const { |
| 9617 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
| 9618 | return csharp_namespace_.Get(); |
| 9619 | } |
| 9620 | inline void FileOptions::set_csharp_namespace(const ::std::string& value) { |
| 9621 | set_has_csharp_namespace(); |
| 9622 | csharp_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9623 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
| 9624 | } |
| 9625 | #if LANG_CXX11 |
| 9626 | inline void FileOptions::set_csharp_namespace(::std::string&& value) { |
| 9627 | set_has_csharp_namespace(); |
| 9628 | csharp_namespace_.Set( |
| 9629 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9630 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.csharp_namespace) |
| 9631 | } |
| 9632 | #endif |
| 9633 | inline void FileOptions::set_csharp_namespace(const char* value) { |
| 9634 | GOOGLE_DCHECK(value != NULL); |
| 9635 | set_has_csharp_namespace(); |
| 9636 | csharp_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9637 | GetArenaNoVirtual()); |
| 9638 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_namespace) |
| 9639 | } |
| 9640 | inline void FileOptions::set_csharp_namespace(const char* value, |
| 9641 | size_t size) { |
| 9642 | set_has_csharp_namespace(); |
| 9643 | csharp_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9644 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9645 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csharp_namespace) |
| 9646 | } |
| 9647 | inline ::std::string* FileOptions::mutable_csharp_namespace() { |
| 9648 | set_has_csharp_namespace(); |
| 9649 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
| 9650 | return csharp_namespace_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9651 | } |
| 9652 | inline ::std::string* FileOptions::release_csharp_namespace() { |
| 9653 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
| 9654 | if (!has_csharp_namespace()) { |
| 9655 | return NULL; |
| 9656 | } |
| 9657 | clear_has_csharp_namespace(); |
| 9658 | return csharp_namespace_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9659 | } |
| 9660 | inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_namespace) { |
| 9661 | if (csharp_namespace != NULL) { |
| 9662 | set_has_csharp_namespace(); |
| 9663 | } else { |
| 9664 | clear_has_csharp_namespace(); |
| 9665 | } |
| 9666 | csharp_namespace_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), csharp_namespace, |
| 9667 | GetArenaNoVirtual()); |
| 9668 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
| 9669 | } |
| 9670 | inline ::std::string* FileOptions::unsafe_arena_release_csharp_namespace() { |
| 9671 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.csharp_namespace) |
| 9672 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9673 | clear_has_csharp_namespace(); |
| 9674 | return csharp_namespace_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9675 | GetArenaNoVirtual()); |
| 9676 | } |
| 9677 | inline void FileOptions::unsafe_arena_set_allocated_csharp_namespace( |
| 9678 | ::std::string* csharp_namespace) { |
| 9679 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9680 | if (csharp_namespace != NULL) { |
| 9681 | set_has_csharp_namespace(); |
| 9682 | } else { |
| 9683 | clear_has_csharp_namespace(); |
| 9684 | } |
| 9685 | csharp_namespace_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9686 | csharp_namespace, GetArenaNoVirtual()); |
| 9687 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
| 9688 | } |
| 9689 | |
| 9690 | // optional string swift_prefix = 39; |
| 9691 | inline bool FileOptions::has_swift_prefix() const { |
| 9692 | return (_has_bits_[0] & 0x00000020u) != 0; |
| 9693 | } |
| 9694 | inline void FileOptions::set_has_swift_prefix() { |
| 9695 | _has_bits_[0] |= 0x00000020u; |
| 9696 | } |
| 9697 | inline void FileOptions::clear_has_swift_prefix() { |
| 9698 | _has_bits_[0] &= ~0x00000020u; |
| 9699 | } |
| 9700 | inline void FileOptions::clear_swift_prefix() { |
| 9701 | swift_prefix_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9702 | clear_has_swift_prefix(); |
| 9703 | } |
| 9704 | inline const ::std::string& FileOptions::swift_prefix() const { |
| 9705 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
| 9706 | return swift_prefix_.Get(); |
| 9707 | } |
| 9708 | inline void FileOptions::set_swift_prefix(const ::std::string& value) { |
| 9709 | set_has_swift_prefix(); |
| 9710 | swift_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9711 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
| 9712 | } |
| 9713 | #if LANG_CXX11 |
| 9714 | inline void FileOptions::set_swift_prefix(::std::string&& value) { |
| 9715 | set_has_swift_prefix(); |
| 9716 | swift_prefix_.Set( |
| 9717 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9718 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.swift_prefix) |
| 9719 | } |
| 9720 | #endif |
| 9721 | inline void FileOptions::set_swift_prefix(const char* value) { |
| 9722 | GOOGLE_DCHECK(value != NULL); |
| 9723 | set_has_swift_prefix(); |
| 9724 | swift_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9725 | GetArenaNoVirtual()); |
| 9726 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.swift_prefix) |
| 9727 | } |
| 9728 | inline void FileOptions::set_swift_prefix(const char* value, |
| 9729 | size_t size) { |
| 9730 | set_has_swift_prefix(); |
| 9731 | swift_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9732 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9733 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.swift_prefix) |
| 9734 | } |
| 9735 | inline ::std::string* FileOptions::mutable_swift_prefix() { |
| 9736 | set_has_swift_prefix(); |
| 9737 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
| 9738 | return swift_prefix_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9739 | } |
| 9740 | inline ::std::string* FileOptions::release_swift_prefix() { |
| 9741 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
| 9742 | if (!has_swift_prefix()) { |
| 9743 | return NULL; |
| 9744 | } |
| 9745 | clear_has_swift_prefix(); |
| 9746 | return swift_prefix_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9747 | } |
| 9748 | inline void FileOptions::set_allocated_swift_prefix(::std::string* swift_prefix) { |
| 9749 | if (swift_prefix != NULL) { |
| 9750 | set_has_swift_prefix(); |
| 9751 | } else { |
| 9752 | clear_has_swift_prefix(); |
| 9753 | } |
| 9754 | swift_prefix_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), swift_prefix, |
| 9755 | GetArenaNoVirtual()); |
| 9756 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
| 9757 | } |
| 9758 | inline ::std::string* FileOptions::unsafe_arena_release_swift_prefix() { |
| 9759 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.swift_prefix) |
| 9760 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9761 | clear_has_swift_prefix(); |
| 9762 | return swift_prefix_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9763 | GetArenaNoVirtual()); |
| 9764 | } |
| 9765 | inline void FileOptions::unsafe_arena_set_allocated_swift_prefix( |
| 9766 | ::std::string* swift_prefix) { |
| 9767 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9768 | if (swift_prefix != NULL) { |
| 9769 | set_has_swift_prefix(); |
| 9770 | } else { |
| 9771 | clear_has_swift_prefix(); |
| 9772 | } |
| 9773 | swift_prefix_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9774 | swift_prefix, GetArenaNoVirtual()); |
| 9775 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.swift_prefix) |
| 9776 | } |
| 9777 | |
| 9778 | // optional string php_class_prefix = 40; |
| 9779 | inline bool FileOptions::has_php_class_prefix() const { |
| 9780 | return (_has_bits_[0] & 0x00000040u) != 0; |
| 9781 | } |
| 9782 | inline void FileOptions::set_has_php_class_prefix() { |
| 9783 | _has_bits_[0] |= 0x00000040u; |
| 9784 | } |
| 9785 | inline void FileOptions::clear_has_php_class_prefix() { |
| 9786 | _has_bits_[0] &= ~0x00000040u; |
| 9787 | } |
| 9788 | inline void FileOptions::clear_php_class_prefix() { |
| 9789 | php_class_prefix_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9790 | clear_has_php_class_prefix(); |
| 9791 | } |
| 9792 | inline const ::std::string& FileOptions::php_class_prefix() const { |
| 9793 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
| 9794 | return php_class_prefix_.Get(); |
| 9795 | } |
| 9796 | inline void FileOptions::set_php_class_prefix(const ::std::string& value) { |
| 9797 | set_has_php_class_prefix(); |
| 9798 | php_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9799 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
| 9800 | } |
| 9801 | #if LANG_CXX11 |
| 9802 | inline void FileOptions::set_php_class_prefix(::std::string&& value) { |
| 9803 | set_has_php_class_prefix(); |
| 9804 | php_class_prefix_.Set( |
| 9805 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9806 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_class_prefix) |
| 9807 | } |
| 9808 | #endif |
| 9809 | inline void FileOptions::set_php_class_prefix(const char* value) { |
| 9810 | GOOGLE_DCHECK(value != NULL); |
| 9811 | set_has_php_class_prefix(); |
| 9812 | php_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9813 | GetArenaNoVirtual()); |
| 9814 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_class_prefix) |
| 9815 | } |
| 9816 | inline void FileOptions::set_php_class_prefix(const char* value, |
| 9817 | size_t size) { |
| 9818 | set_has_php_class_prefix(); |
| 9819 | php_class_prefix_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9820 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9821 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_class_prefix) |
| 9822 | } |
| 9823 | inline ::std::string* FileOptions::mutable_php_class_prefix() { |
| 9824 | set_has_php_class_prefix(); |
| 9825 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
| 9826 | return php_class_prefix_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9827 | } |
| 9828 | inline ::std::string* FileOptions::release_php_class_prefix() { |
| 9829 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
| 9830 | if (!has_php_class_prefix()) { |
| 9831 | return NULL; |
| 9832 | } |
| 9833 | clear_has_php_class_prefix(); |
| 9834 | return php_class_prefix_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9835 | } |
| 9836 | inline void FileOptions::set_allocated_php_class_prefix(::std::string* php_class_prefix) { |
| 9837 | if (php_class_prefix != NULL) { |
| 9838 | set_has_php_class_prefix(); |
| 9839 | } else { |
| 9840 | clear_has_php_class_prefix(); |
| 9841 | } |
| 9842 | php_class_prefix_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), php_class_prefix, |
| 9843 | GetArenaNoVirtual()); |
| 9844 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
| 9845 | } |
| 9846 | inline ::std::string* FileOptions::unsafe_arena_release_php_class_prefix() { |
| 9847 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.php_class_prefix) |
| 9848 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9849 | clear_has_php_class_prefix(); |
| 9850 | return php_class_prefix_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9851 | GetArenaNoVirtual()); |
| 9852 | } |
| 9853 | inline void FileOptions::unsafe_arena_set_allocated_php_class_prefix( |
| 9854 | ::std::string* php_class_prefix) { |
| 9855 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9856 | if (php_class_prefix != NULL) { |
| 9857 | set_has_php_class_prefix(); |
| 9858 | } else { |
| 9859 | clear_has_php_class_prefix(); |
| 9860 | } |
| 9861 | php_class_prefix_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9862 | php_class_prefix, GetArenaNoVirtual()); |
| 9863 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
| 9864 | } |
| 9865 | |
| 9866 | // optional string php_namespace = 41; |
| 9867 | inline bool FileOptions::has_php_namespace() const { |
| 9868 | return (_has_bits_[0] & 0x00000080u) != 0; |
| 9869 | } |
| 9870 | inline void FileOptions::set_has_php_namespace() { |
| 9871 | _has_bits_[0] |= 0x00000080u; |
| 9872 | } |
| 9873 | inline void FileOptions::clear_has_php_namespace() { |
| 9874 | _has_bits_[0] &= ~0x00000080u; |
| 9875 | } |
| 9876 | inline void FileOptions::clear_php_namespace() { |
| 9877 | php_namespace_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9878 | clear_has_php_namespace(); |
| 9879 | } |
| 9880 | inline const ::std::string& FileOptions::php_namespace() const { |
| 9881 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
| 9882 | return php_namespace_.Get(); |
| 9883 | } |
| 9884 | inline void FileOptions::set_php_namespace(const ::std::string& value) { |
| 9885 | set_has_php_namespace(); |
| 9886 | php_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9887 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
| 9888 | } |
| 9889 | #if LANG_CXX11 |
| 9890 | inline void FileOptions::set_php_namespace(::std::string&& value) { |
| 9891 | set_has_php_namespace(); |
| 9892 | php_namespace_.Set( |
| 9893 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9894 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_namespace) |
| 9895 | } |
| 9896 | #endif |
| 9897 | inline void FileOptions::set_php_namespace(const char* value) { |
| 9898 | GOOGLE_DCHECK(value != NULL); |
| 9899 | set_has_php_namespace(); |
| 9900 | php_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9901 | GetArenaNoVirtual()); |
| 9902 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_namespace) |
| 9903 | } |
| 9904 | inline void FileOptions::set_php_namespace(const char* value, |
| 9905 | size_t size) { |
| 9906 | set_has_php_namespace(); |
| 9907 | php_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9908 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9909 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_namespace) |
| 9910 | } |
| 9911 | inline ::std::string* FileOptions::mutable_php_namespace() { |
| 9912 | set_has_php_namespace(); |
| 9913 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
| 9914 | return php_namespace_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9915 | } |
| 9916 | inline ::std::string* FileOptions::release_php_namespace() { |
| 9917 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
| 9918 | if (!has_php_namespace()) { |
| 9919 | return NULL; |
| 9920 | } |
| 9921 | clear_has_php_namespace(); |
| 9922 | return php_namespace_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9923 | } |
| 9924 | inline void FileOptions::set_allocated_php_namespace(::std::string* php_namespace) { |
| 9925 | if (php_namespace != NULL) { |
| 9926 | set_has_php_namespace(); |
| 9927 | } else { |
| 9928 | clear_has_php_namespace(); |
| 9929 | } |
| 9930 | php_namespace_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), php_namespace, |
| 9931 | GetArenaNoVirtual()); |
| 9932 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
| 9933 | } |
| 9934 | inline ::std::string* FileOptions::unsafe_arena_release_php_namespace() { |
| 9935 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.php_namespace) |
| 9936 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9937 | clear_has_php_namespace(); |
| 9938 | return php_namespace_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9939 | GetArenaNoVirtual()); |
| 9940 | } |
| 9941 | inline void FileOptions::unsafe_arena_set_allocated_php_namespace( |
| 9942 | ::std::string* php_namespace) { |
| 9943 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 9944 | if (php_namespace != NULL) { |
| 9945 | set_has_php_namespace(); |
| 9946 | } else { |
| 9947 | clear_has_php_namespace(); |
| 9948 | } |
| 9949 | php_namespace_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 9950 | php_namespace, GetArenaNoVirtual()); |
| 9951 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.php_namespace) |
| 9952 | } |
| 9953 | |
| 9954 | // optional string php_metadata_namespace = 44; |
| 9955 | inline bool FileOptions::has_php_metadata_namespace() const { |
| 9956 | return (_has_bits_[0] & 0x00000100u) != 0; |
| 9957 | } |
| 9958 | inline void FileOptions::set_has_php_metadata_namespace() { |
| 9959 | _has_bits_[0] |= 0x00000100u; |
| 9960 | } |
| 9961 | inline void FileOptions::clear_has_php_metadata_namespace() { |
| 9962 | _has_bits_[0] &= ~0x00000100u; |
| 9963 | } |
| 9964 | inline void FileOptions::clear_php_metadata_namespace() { |
| 9965 | php_metadata_namespace_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 9966 | clear_has_php_metadata_namespace(); |
| 9967 | } |
| 9968 | inline const ::std::string& FileOptions::php_metadata_namespace() const { |
| 9969 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
| 9970 | return php_metadata_namespace_.Get(); |
| 9971 | } |
| 9972 | inline void FileOptions::set_php_metadata_namespace(const ::std::string& value) { |
| 9973 | set_has_php_metadata_namespace(); |
| 9974 | php_metadata_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 9975 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
| 9976 | } |
| 9977 | #if LANG_CXX11 |
| 9978 | inline void FileOptions::set_php_metadata_namespace(::std::string&& value) { |
| 9979 | set_has_php_metadata_namespace(); |
| 9980 | php_metadata_namespace_.Set( |
| 9981 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 9982 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.php_metadata_namespace) |
| 9983 | } |
| 9984 | #endif |
| 9985 | inline void FileOptions::set_php_metadata_namespace(const char* value) { |
| 9986 | GOOGLE_DCHECK(value != NULL); |
| 9987 | set_has_php_metadata_namespace(); |
| 9988 | php_metadata_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 9989 | GetArenaNoVirtual()); |
| 9990 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.php_metadata_namespace) |
| 9991 | } |
| 9992 | inline void FileOptions::set_php_metadata_namespace(const char* value, |
| 9993 | size_t size) { |
| 9994 | set_has_php_metadata_namespace(); |
| 9995 | php_metadata_namespace_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 9996 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 9997 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.php_metadata_namespace) |
| 9998 | } |
| 9999 | inline ::std::string* FileOptions::mutable_php_metadata_namespace() { |
| 10000 | set_has_php_metadata_namespace(); |
| 10001 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
| 10002 | return php_metadata_namespace_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10003 | } |
| 10004 | inline ::std::string* FileOptions::release_php_metadata_namespace() { |
| 10005 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
| 10006 | if (!has_php_metadata_namespace()) { |
| 10007 | return NULL; |
| 10008 | } |
| 10009 | clear_has_php_metadata_namespace(); |
| 10010 | return php_metadata_namespace_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10011 | } |
| 10012 | inline void FileOptions::set_allocated_php_metadata_namespace(::std::string* php_metadata_namespace) { |
| 10013 | if (php_metadata_namespace != NULL) { |
| 10014 | set_has_php_metadata_namespace(); |
| 10015 | } else { |
| 10016 | clear_has_php_metadata_namespace(); |
| 10017 | } |
| 10018 | php_metadata_namespace_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), php_metadata_namespace, |
| 10019 | GetArenaNoVirtual()); |
| 10020 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
| 10021 | } |
| 10022 | inline ::std::string* FileOptions::unsafe_arena_release_php_metadata_namespace() { |
| 10023 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.php_metadata_namespace) |
| 10024 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10025 | clear_has_php_metadata_namespace(); |
| 10026 | return php_metadata_namespace_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10027 | GetArenaNoVirtual()); |
| 10028 | } |
| 10029 | inline void FileOptions::unsafe_arena_set_allocated_php_metadata_namespace( |
| 10030 | ::std::string* php_metadata_namespace) { |
| 10031 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10032 | if (php_metadata_namespace != NULL) { |
| 10033 | set_has_php_metadata_namespace(); |
| 10034 | } else { |
| 10035 | clear_has_php_metadata_namespace(); |
| 10036 | } |
| 10037 | php_metadata_namespace_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10038 | php_metadata_namespace, GetArenaNoVirtual()); |
| 10039 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
| 10040 | } |
| 10041 | |
| 10042 | // optional string ruby_package = 45; |
| 10043 | inline bool FileOptions::has_ruby_package() const { |
| 10044 | return (_has_bits_[0] & 0x00000200u) != 0; |
| 10045 | } |
| 10046 | inline void FileOptions::set_has_ruby_package() { |
| 10047 | _has_bits_[0] |= 0x00000200u; |
| 10048 | } |
| 10049 | inline void FileOptions::clear_has_ruby_package() { |
| 10050 | _has_bits_[0] &= ~0x00000200u; |
| 10051 | } |
| 10052 | inline void FileOptions::clear_ruby_package() { |
| 10053 | ruby_package_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10054 | clear_has_ruby_package(); |
| 10055 | } |
| 10056 | inline const ::std::string& FileOptions::ruby_package() const { |
| 10057 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
| 10058 | return ruby_package_.Get(); |
| 10059 | } |
| 10060 | inline void FileOptions::set_ruby_package(const ::std::string& value) { |
| 10061 | set_has_ruby_package(); |
| 10062 | ruby_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 10063 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
| 10064 | } |
| 10065 | #if LANG_CXX11 |
| 10066 | inline void FileOptions::set_ruby_package(::std::string&& value) { |
| 10067 | set_has_ruby_package(); |
| 10068 | ruby_package_.Set( |
| 10069 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 10070 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.FileOptions.ruby_package) |
| 10071 | } |
| 10072 | #endif |
| 10073 | inline void FileOptions::set_ruby_package(const char* value) { |
| 10074 | GOOGLE_DCHECK(value != NULL); |
| 10075 | set_has_ruby_package(); |
| 10076 | ruby_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 10077 | GetArenaNoVirtual()); |
| 10078 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.ruby_package) |
| 10079 | } |
| 10080 | inline void FileOptions::set_ruby_package(const char* value, |
| 10081 | size_t size) { |
| 10082 | set_has_ruby_package(); |
| 10083 | ruby_package_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 10084 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 10085 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.ruby_package) |
| 10086 | } |
| 10087 | inline ::std::string* FileOptions::mutable_ruby_package() { |
| 10088 | set_has_ruby_package(); |
| 10089 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
| 10090 | return ruby_package_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10091 | } |
| 10092 | inline ::std::string* FileOptions::release_ruby_package() { |
| 10093 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
| 10094 | if (!has_ruby_package()) { |
| 10095 | return NULL; |
| 10096 | } |
| 10097 | clear_has_ruby_package(); |
| 10098 | return ruby_package_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10099 | } |
| 10100 | inline void FileOptions::set_allocated_ruby_package(::std::string* ruby_package) { |
| 10101 | if (ruby_package != NULL) { |
| 10102 | set_has_ruby_package(); |
| 10103 | } else { |
| 10104 | clear_has_ruby_package(); |
| 10105 | } |
| 10106 | ruby_package_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ruby_package, |
| 10107 | GetArenaNoVirtual()); |
| 10108 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
| 10109 | } |
| 10110 | inline ::std::string* FileOptions::unsafe_arena_release_ruby_package() { |
| 10111 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.FileOptions.ruby_package) |
| 10112 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10113 | clear_has_ruby_package(); |
| 10114 | return ruby_package_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10115 | GetArenaNoVirtual()); |
| 10116 | } |
| 10117 | inline void FileOptions::unsafe_arena_set_allocated_ruby_package( |
| 10118 | ::std::string* ruby_package) { |
| 10119 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10120 | if (ruby_package != NULL) { |
| 10121 | set_has_ruby_package(); |
| 10122 | } else { |
| 10123 | clear_has_ruby_package(); |
| 10124 | } |
| 10125 | ruby_package_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10126 | ruby_package, GetArenaNoVirtual()); |
| 10127 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.ruby_package) |
| 10128 | } |
| 10129 | |
| 10130 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10131 | inline int FileOptions::uninterpreted_option_size() const { |
| 10132 | return uninterpreted_option_.size(); |
| 10133 | } |
| 10134 | inline void FileOptions::clear_uninterpreted_option() { |
| 10135 | uninterpreted_option_.Clear(); |
| 10136 | } |
| 10137 | inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) { |
| 10138 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
| 10139 | return uninterpreted_option_.Mutable(index); |
| 10140 | } |
| 10141 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10142 | FileOptions::mutable_uninterpreted_option() { |
| 10143 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
| 10144 | return &uninterpreted_option_; |
| 10145 | } |
| 10146 | inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const { |
| 10147 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
| 10148 | return uninterpreted_option_.Get(index); |
| 10149 | } |
| 10150 | inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() { |
| 10151 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
| 10152 | return uninterpreted_option_.Add(); |
| 10153 | } |
| 10154 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10155 | FileOptions::uninterpreted_option() const { |
| 10156 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
| 10157 | return uninterpreted_option_; |
| 10158 | } |
| 10159 | |
| 10160 | // ------------------------------------------------------------------- |
| 10161 | |
| 10162 | // MessageOptions |
| 10163 | |
| 10164 | // optional bool message_set_wire_format = 1 [default = false]; |
| 10165 | inline bool MessageOptions::has_message_set_wire_format() const { |
| 10166 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10167 | } |
| 10168 | inline void MessageOptions::set_has_message_set_wire_format() { |
| 10169 | _has_bits_[0] |= 0x00000001u; |
| 10170 | } |
| 10171 | inline void MessageOptions::clear_has_message_set_wire_format() { |
| 10172 | _has_bits_[0] &= ~0x00000001u; |
| 10173 | } |
| 10174 | inline void MessageOptions::clear_message_set_wire_format() { |
| 10175 | message_set_wire_format_ = false; |
| 10176 | clear_has_message_set_wire_format(); |
| 10177 | } |
| 10178 | inline bool MessageOptions::message_set_wire_format() const { |
| 10179 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
| 10180 | return message_set_wire_format_; |
| 10181 | } |
| 10182 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
| 10183 | set_has_message_set_wire_format(); |
| 10184 | message_set_wire_format_ = value; |
| 10185 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
| 10186 | } |
| 10187 | |
| 10188 | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
| 10189 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
| 10190 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 10191 | } |
| 10192 | inline void MessageOptions::set_has_no_standard_descriptor_accessor() { |
| 10193 | _has_bits_[0] |= 0x00000002u; |
| 10194 | } |
| 10195 | inline void MessageOptions::clear_has_no_standard_descriptor_accessor() { |
| 10196 | _has_bits_[0] &= ~0x00000002u; |
| 10197 | } |
| 10198 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
| 10199 | no_standard_descriptor_accessor_ = false; |
| 10200 | clear_has_no_standard_descriptor_accessor(); |
| 10201 | } |
| 10202 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
| 10203 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
| 10204 | return no_standard_descriptor_accessor_; |
| 10205 | } |
| 10206 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
| 10207 | set_has_no_standard_descriptor_accessor(); |
| 10208 | no_standard_descriptor_accessor_ = value; |
| 10209 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
| 10210 | } |
| 10211 | |
| 10212 | // optional bool deprecated = 3 [default = false]; |
| 10213 | inline bool MessageOptions::has_deprecated() const { |
| 10214 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 10215 | } |
| 10216 | inline void MessageOptions::set_has_deprecated() { |
| 10217 | _has_bits_[0] |= 0x00000004u; |
| 10218 | } |
| 10219 | inline void MessageOptions::clear_has_deprecated() { |
| 10220 | _has_bits_[0] &= ~0x00000004u; |
| 10221 | } |
| 10222 | inline void MessageOptions::clear_deprecated() { |
| 10223 | deprecated_ = false; |
| 10224 | clear_has_deprecated(); |
| 10225 | } |
| 10226 | inline bool MessageOptions::deprecated() const { |
| 10227 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
| 10228 | return deprecated_; |
| 10229 | } |
| 10230 | inline void MessageOptions::set_deprecated(bool value) { |
| 10231 | set_has_deprecated(); |
| 10232 | deprecated_ = value; |
| 10233 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
| 10234 | } |
| 10235 | |
| 10236 | // optional bool map_entry = 7; |
| 10237 | inline bool MessageOptions::has_map_entry() const { |
| 10238 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 10239 | } |
| 10240 | inline void MessageOptions::set_has_map_entry() { |
| 10241 | _has_bits_[0] |= 0x00000008u; |
| 10242 | } |
| 10243 | inline void MessageOptions::clear_has_map_entry() { |
| 10244 | _has_bits_[0] &= ~0x00000008u; |
| 10245 | } |
| 10246 | inline void MessageOptions::clear_map_entry() { |
| 10247 | map_entry_ = false; |
| 10248 | clear_has_map_entry(); |
| 10249 | } |
| 10250 | inline bool MessageOptions::map_entry() const { |
| 10251 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
| 10252 | return map_entry_; |
| 10253 | } |
| 10254 | inline void MessageOptions::set_map_entry(bool value) { |
| 10255 | set_has_map_entry(); |
| 10256 | map_entry_ = value; |
| 10257 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
| 10258 | } |
| 10259 | |
| 10260 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10261 | inline int MessageOptions::uninterpreted_option_size() const { |
| 10262 | return uninterpreted_option_.size(); |
| 10263 | } |
| 10264 | inline void MessageOptions::clear_uninterpreted_option() { |
| 10265 | uninterpreted_option_.Clear(); |
| 10266 | } |
| 10267 | inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) { |
| 10268 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
| 10269 | return uninterpreted_option_.Mutable(index); |
| 10270 | } |
| 10271 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10272 | MessageOptions::mutable_uninterpreted_option() { |
| 10273 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
| 10274 | return &uninterpreted_option_; |
| 10275 | } |
| 10276 | inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const { |
| 10277 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
| 10278 | return uninterpreted_option_.Get(index); |
| 10279 | } |
| 10280 | inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() { |
| 10281 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
| 10282 | return uninterpreted_option_.Add(); |
| 10283 | } |
| 10284 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10285 | MessageOptions::uninterpreted_option() const { |
| 10286 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
| 10287 | return uninterpreted_option_; |
| 10288 | } |
| 10289 | |
| 10290 | // ------------------------------------------------------------------- |
| 10291 | |
| 10292 | // FieldOptions |
| 10293 | |
| 10294 | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
| 10295 | inline bool FieldOptions::has_ctype() const { |
| 10296 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10297 | } |
| 10298 | inline void FieldOptions::set_has_ctype() { |
| 10299 | _has_bits_[0] |= 0x00000001u; |
| 10300 | } |
| 10301 | inline void FieldOptions::clear_has_ctype() { |
| 10302 | _has_bits_[0] &= ~0x00000001u; |
| 10303 | } |
| 10304 | inline void FieldOptions::clear_ctype() { |
| 10305 | ctype_ = 0; |
| 10306 | clear_has_ctype(); |
| 10307 | } |
| 10308 | inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const { |
| 10309 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
| 10310 | return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_); |
| 10311 | } |
| 10312 | inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) { |
| 10313 | assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
| 10314 | set_has_ctype(); |
| 10315 | ctype_ = value; |
| 10316 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
| 10317 | } |
| 10318 | |
| 10319 | // optional bool packed = 2; |
| 10320 | inline bool FieldOptions::has_packed() const { |
| 10321 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 10322 | } |
| 10323 | inline void FieldOptions::set_has_packed() { |
| 10324 | _has_bits_[0] |= 0x00000002u; |
| 10325 | } |
| 10326 | inline void FieldOptions::clear_has_packed() { |
| 10327 | _has_bits_[0] &= ~0x00000002u; |
| 10328 | } |
| 10329 | inline void FieldOptions::clear_packed() { |
| 10330 | packed_ = false; |
| 10331 | clear_has_packed(); |
| 10332 | } |
| 10333 | inline bool FieldOptions::packed() const { |
| 10334 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
| 10335 | return packed_; |
| 10336 | } |
| 10337 | inline void FieldOptions::set_packed(bool value) { |
| 10338 | set_has_packed(); |
| 10339 | packed_ = value; |
| 10340 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
| 10341 | } |
| 10342 | |
| 10343 | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
| 10344 | inline bool FieldOptions::has_jstype() const { |
| 10345 | return (_has_bits_[0] & 0x00000020u) != 0; |
| 10346 | } |
| 10347 | inline void FieldOptions::set_has_jstype() { |
| 10348 | _has_bits_[0] |= 0x00000020u; |
| 10349 | } |
| 10350 | inline void FieldOptions::clear_has_jstype() { |
| 10351 | _has_bits_[0] &= ~0x00000020u; |
| 10352 | } |
| 10353 | inline void FieldOptions::clear_jstype() { |
| 10354 | jstype_ = 0; |
| 10355 | clear_has_jstype(); |
| 10356 | } |
| 10357 | inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { |
| 10358 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
| 10359 | return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_); |
| 10360 | } |
| 10361 | inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) { |
| 10362 | assert(::google::protobuf::FieldOptions_JSType_IsValid(value)); |
| 10363 | set_has_jstype(); |
| 10364 | jstype_ = value; |
| 10365 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
| 10366 | } |
| 10367 | |
| 10368 | // optional bool lazy = 5 [default = false]; |
| 10369 | inline bool FieldOptions::has_lazy() const { |
| 10370 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 10371 | } |
| 10372 | inline void FieldOptions::set_has_lazy() { |
| 10373 | _has_bits_[0] |= 0x00000004u; |
| 10374 | } |
| 10375 | inline void FieldOptions::clear_has_lazy() { |
| 10376 | _has_bits_[0] &= ~0x00000004u; |
| 10377 | } |
| 10378 | inline void FieldOptions::clear_lazy() { |
| 10379 | lazy_ = false; |
| 10380 | clear_has_lazy(); |
| 10381 | } |
| 10382 | inline bool FieldOptions::lazy() const { |
| 10383 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
| 10384 | return lazy_; |
| 10385 | } |
| 10386 | inline void FieldOptions::set_lazy(bool value) { |
| 10387 | set_has_lazy(); |
| 10388 | lazy_ = value; |
| 10389 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
| 10390 | } |
| 10391 | |
| 10392 | // optional bool deprecated = 3 [default = false]; |
| 10393 | inline bool FieldOptions::has_deprecated() const { |
| 10394 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 10395 | } |
| 10396 | inline void FieldOptions::set_has_deprecated() { |
| 10397 | _has_bits_[0] |= 0x00000008u; |
| 10398 | } |
| 10399 | inline void FieldOptions::clear_has_deprecated() { |
| 10400 | _has_bits_[0] &= ~0x00000008u; |
| 10401 | } |
| 10402 | inline void FieldOptions::clear_deprecated() { |
| 10403 | deprecated_ = false; |
| 10404 | clear_has_deprecated(); |
| 10405 | } |
| 10406 | inline bool FieldOptions::deprecated() const { |
| 10407 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
| 10408 | return deprecated_; |
| 10409 | } |
| 10410 | inline void FieldOptions::set_deprecated(bool value) { |
| 10411 | set_has_deprecated(); |
| 10412 | deprecated_ = value; |
| 10413 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
| 10414 | } |
| 10415 | |
| 10416 | // optional bool weak = 10 [default = false]; |
| 10417 | inline bool FieldOptions::has_weak() const { |
| 10418 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 10419 | } |
| 10420 | inline void FieldOptions::set_has_weak() { |
| 10421 | _has_bits_[0] |= 0x00000010u; |
| 10422 | } |
| 10423 | inline void FieldOptions::clear_has_weak() { |
| 10424 | _has_bits_[0] &= ~0x00000010u; |
| 10425 | } |
| 10426 | inline void FieldOptions::clear_weak() { |
| 10427 | weak_ = false; |
| 10428 | clear_has_weak(); |
| 10429 | } |
| 10430 | inline bool FieldOptions::weak() const { |
| 10431 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
| 10432 | return weak_; |
| 10433 | } |
| 10434 | inline void FieldOptions::set_weak(bool value) { |
| 10435 | set_has_weak(); |
| 10436 | weak_ = value; |
| 10437 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
| 10438 | } |
| 10439 | |
| 10440 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10441 | inline int FieldOptions::uninterpreted_option_size() const { |
| 10442 | return uninterpreted_option_.size(); |
| 10443 | } |
| 10444 | inline void FieldOptions::clear_uninterpreted_option() { |
| 10445 | uninterpreted_option_.Clear(); |
| 10446 | } |
| 10447 | inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) { |
| 10448 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
| 10449 | return uninterpreted_option_.Mutable(index); |
| 10450 | } |
| 10451 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10452 | FieldOptions::mutable_uninterpreted_option() { |
| 10453 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
| 10454 | return &uninterpreted_option_; |
| 10455 | } |
| 10456 | inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const { |
| 10457 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
| 10458 | return uninterpreted_option_.Get(index); |
| 10459 | } |
| 10460 | inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() { |
| 10461 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
| 10462 | return uninterpreted_option_.Add(); |
| 10463 | } |
| 10464 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10465 | FieldOptions::uninterpreted_option() const { |
| 10466 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
| 10467 | return uninterpreted_option_; |
| 10468 | } |
| 10469 | |
| 10470 | // ------------------------------------------------------------------- |
| 10471 | |
| 10472 | // OneofOptions |
| 10473 | |
| 10474 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10475 | inline int OneofOptions::uninterpreted_option_size() const { |
| 10476 | return uninterpreted_option_.size(); |
| 10477 | } |
| 10478 | inline void OneofOptions::clear_uninterpreted_option() { |
| 10479 | uninterpreted_option_.Clear(); |
| 10480 | } |
| 10481 | inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) { |
| 10482 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
| 10483 | return uninterpreted_option_.Mutable(index); |
| 10484 | } |
| 10485 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10486 | OneofOptions::mutable_uninterpreted_option() { |
| 10487 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
| 10488 | return &uninterpreted_option_; |
| 10489 | } |
| 10490 | inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const { |
| 10491 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
| 10492 | return uninterpreted_option_.Get(index); |
| 10493 | } |
| 10494 | inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_option() { |
| 10495 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
| 10496 | return uninterpreted_option_.Add(); |
| 10497 | } |
| 10498 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10499 | OneofOptions::uninterpreted_option() const { |
| 10500 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
| 10501 | return uninterpreted_option_; |
| 10502 | } |
| 10503 | |
| 10504 | // ------------------------------------------------------------------- |
| 10505 | |
| 10506 | // EnumOptions |
| 10507 | |
| 10508 | // optional bool allow_alias = 2; |
| 10509 | inline bool EnumOptions::has_allow_alias() const { |
| 10510 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10511 | } |
| 10512 | inline void EnumOptions::set_has_allow_alias() { |
| 10513 | _has_bits_[0] |= 0x00000001u; |
| 10514 | } |
| 10515 | inline void EnumOptions::clear_has_allow_alias() { |
| 10516 | _has_bits_[0] &= ~0x00000001u; |
| 10517 | } |
| 10518 | inline void EnumOptions::clear_allow_alias() { |
| 10519 | allow_alias_ = false; |
| 10520 | clear_has_allow_alias(); |
| 10521 | } |
| 10522 | inline bool EnumOptions::allow_alias() const { |
| 10523 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
| 10524 | return allow_alias_; |
| 10525 | } |
| 10526 | inline void EnumOptions::set_allow_alias(bool value) { |
| 10527 | set_has_allow_alias(); |
| 10528 | allow_alias_ = value; |
| 10529 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
| 10530 | } |
| 10531 | |
| 10532 | // optional bool deprecated = 3 [default = false]; |
| 10533 | inline bool EnumOptions::has_deprecated() const { |
| 10534 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 10535 | } |
| 10536 | inline void EnumOptions::set_has_deprecated() { |
| 10537 | _has_bits_[0] |= 0x00000002u; |
| 10538 | } |
| 10539 | inline void EnumOptions::clear_has_deprecated() { |
| 10540 | _has_bits_[0] &= ~0x00000002u; |
| 10541 | } |
| 10542 | inline void EnumOptions::clear_deprecated() { |
| 10543 | deprecated_ = false; |
| 10544 | clear_has_deprecated(); |
| 10545 | } |
| 10546 | inline bool EnumOptions::deprecated() const { |
| 10547 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
| 10548 | return deprecated_; |
| 10549 | } |
| 10550 | inline void EnumOptions::set_deprecated(bool value) { |
| 10551 | set_has_deprecated(); |
| 10552 | deprecated_ = value; |
| 10553 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
| 10554 | } |
| 10555 | |
| 10556 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10557 | inline int EnumOptions::uninterpreted_option_size() const { |
| 10558 | return uninterpreted_option_.size(); |
| 10559 | } |
| 10560 | inline void EnumOptions::clear_uninterpreted_option() { |
| 10561 | uninterpreted_option_.Clear(); |
| 10562 | } |
| 10563 | inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) { |
| 10564 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
| 10565 | return uninterpreted_option_.Mutable(index); |
| 10566 | } |
| 10567 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10568 | EnumOptions::mutable_uninterpreted_option() { |
| 10569 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
| 10570 | return &uninterpreted_option_; |
| 10571 | } |
| 10572 | inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const { |
| 10573 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
| 10574 | return uninterpreted_option_.Get(index); |
| 10575 | } |
| 10576 | inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() { |
| 10577 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
| 10578 | return uninterpreted_option_.Add(); |
| 10579 | } |
| 10580 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10581 | EnumOptions::uninterpreted_option() const { |
| 10582 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
| 10583 | return uninterpreted_option_; |
| 10584 | } |
| 10585 | |
| 10586 | // ------------------------------------------------------------------- |
| 10587 | |
| 10588 | // EnumValueOptions |
| 10589 | |
| 10590 | // optional bool deprecated = 1 [default = false]; |
| 10591 | inline bool EnumValueOptions::has_deprecated() const { |
| 10592 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10593 | } |
| 10594 | inline void EnumValueOptions::set_has_deprecated() { |
| 10595 | _has_bits_[0] |= 0x00000001u; |
| 10596 | } |
| 10597 | inline void EnumValueOptions::clear_has_deprecated() { |
| 10598 | _has_bits_[0] &= ~0x00000001u; |
| 10599 | } |
| 10600 | inline void EnumValueOptions::clear_deprecated() { |
| 10601 | deprecated_ = false; |
| 10602 | clear_has_deprecated(); |
| 10603 | } |
| 10604 | inline bool EnumValueOptions::deprecated() const { |
| 10605 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
| 10606 | return deprecated_; |
| 10607 | } |
| 10608 | inline void EnumValueOptions::set_deprecated(bool value) { |
| 10609 | set_has_deprecated(); |
| 10610 | deprecated_ = value; |
| 10611 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
| 10612 | } |
| 10613 | |
| 10614 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10615 | inline int EnumValueOptions::uninterpreted_option_size() const { |
| 10616 | return uninterpreted_option_.size(); |
| 10617 | } |
| 10618 | inline void EnumValueOptions::clear_uninterpreted_option() { |
| 10619 | uninterpreted_option_.Clear(); |
| 10620 | } |
| 10621 | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) { |
| 10622 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 10623 | return uninterpreted_option_.Mutable(index); |
| 10624 | } |
| 10625 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10626 | EnumValueOptions::mutable_uninterpreted_option() { |
| 10627 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 10628 | return &uninterpreted_option_; |
| 10629 | } |
| 10630 | inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const { |
| 10631 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 10632 | return uninterpreted_option_.Get(index); |
| 10633 | } |
| 10634 | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() { |
| 10635 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 10636 | return uninterpreted_option_.Add(); |
| 10637 | } |
| 10638 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10639 | EnumValueOptions::uninterpreted_option() const { |
| 10640 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 10641 | return uninterpreted_option_; |
| 10642 | } |
| 10643 | |
| 10644 | // ------------------------------------------------------------------- |
| 10645 | |
| 10646 | // ServiceOptions |
| 10647 | |
| 10648 | // optional bool deprecated = 33 [default = false]; |
| 10649 | inline bool ServiceOptions::has_deprecated() const { |
| 10650 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10651 | } |
| 10652 | inline void ServiceOptions::set_has_deprecated() { |
| 10653 | _has_bits_[0] |= 0x00000001u; |
| 10654 | } |
| 10655 | inline void ServiceOptions::clear_has_deprecated() { |
| 10656 | _has_bits_[0] &= ~0x00000001u; |
| 10657 | } |
| 10658 | inline void ServiceOptions::clear_deprecated() { |
| 10659 | deprecated_ = false; |
| 10660 | clear_has_deprecated(); |
| 10661 | } |
| 10662 | inline bool ServiceOptions::deprecated() const { |
| 10663 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
| 10664 | return deprecated_; |
| 10665 | } |
| 10666 | inline void ServiceOptions::set_deprecated(bool value) { |
| 10667 | set_has_deprecated(); |
| 10668 | deprecated_ = value; |
| 10669 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
| 10670 | } |
| 10671 | |
| 10672 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10673 | inline int ServiceOptions::uninterpreted_option_size() const { |
| 10674 | return uninterpreted_option_.size(); |
| 10675 | } |
| 10676 | inline void ServiceOptions::clear_uninterpreted_option() { |
| 10677 | uninterpreted_option_.Clear(); |
| 10678 | } |
| 10679 | inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) { |
| 10680 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
| 10681 | return uninterpreted_option_.Mutable(index); |
| 10682 | } |
| 10683 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10684 | ServiceOptions::mutable_uninterpreted_option() { |
| 10685 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
| 10686 | return &uninterpreted_option_; |
| 10687 | } |
| 10688 | inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const { |
| 10689 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
| 10690 | return uninterpreted_option_.Get(index); |
| 10691 | } |
| 10692 | inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() { |
| 10693 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
| 10694 | return uninterpreted_option_.Add(); |
| 10695 | } |
| 10696 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10697 | ServiceOptions::uninterpreted_option() const { |
| 10698 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
| 10699 | return uninterpreted_option_; |
| 10700 | } |
| 10701 | |
| 10702 | // ------------------------------------------------------------------- |
| 10703 | |
| 10704 | // MethodOptions |
| 10705 | |
| 10706 | // optional bool deprecated = 33 [default = false]; |
| 10707 | inline bool MethodOptions::has_deprecated() const { |
| 10708 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10709 | } |
| 10710 | inline void MethodOptions::set_has_deprecated() { |
| 10711 | _has_bits_[0] |= 0x00000001u; |
| 10712 | } |
| 10713 | inline void MethodOptions::clear_has_deprecated() { |
| 10714 | _has_bits_[0] &= ~0x00000001u; |
| 10715 | } |
| 10716 | inline void MethodOptions::clear_deprecated() { |
| 10717 | deprecated_ = false; |
| 10718 | clear_has_deprecated(); |
| 10719 | } |
| 10720 | inline bool MethodOptions::deprecated() const { |
| 10721 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
| 10722 | return deprecated_; |
| 10723 | } |
| 10724 | inline void MethodOptions::set_deprecated(bool value) { |
| 10725 | set_has_deprecated(); |
| 10726 | deprecated_ = value; |
| 10727 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
| 10728 | } |
| 10729 | |
| 10730 | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
| 10731 | inline bool MethodOptions::has_idempotency_level() const { |
| 10732 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 10733 | } |
| 10734 | inline void MethodOptions::set_has_idempotency_level() { |
| 10735 | _has_bits_[0] |= 0x00000002u; |
| 10736 | } |
| 10737 | inline void MethodOptions::clear_has_idempotency_level() { |
| 10738 | _has_bits_[0] &= ~0x00000002u; |
| 10739 | } |
| 10740 | inline void MethodOptions::clear_idempotency_level() { |
| 10741 | idempotency_level_ = 0; |
| 10742 | clear_has_idempotency_level(); |
| 10743 | } |
| 10744 | inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
| 10745 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
| 10746 | return static_cast< ::google::protobuf::MethodOptions_IdempotencyLevel >(idempotency_level_); |
| 10747 | } |
| 10748 | inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value) { |
| 10749 | assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value)); |
| 10750 | set_has_idempotency_level(); |
| 10751 | idempotency_level_ = value; |
| 10752 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
| 10753 | } |
| 10754 | |
| 10755 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10756 | inline int MethodOptions::uninterpreted_option_size() const { |
| 10757 | return uninterpreted_option_.size(); |
| 10758 | } |
| 10759 | inline void MethodOptions::clear_uninterpreted_option() { |
| 10760 | uninterpreted_option_.Clear(); |
| 10761 | } |
| 10762 | inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) { |
| 10763 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
| 10764 | return uninterpreted_option_.Mutable(index); |
| 10765 | } |
| 10766 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >* |
| 10767 | MethodOptions::mutable_uninterpreted_option() { |
| 10768 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
| 10769 | return &uninterpreted_option_; |
| 10770 | } |
| 10771 | inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const { |
| 10772 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
| 10773 | return uninterpreted_option_.Get(index); |
| 10774 | } |
| 10775 | inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() { |
| 10776 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
| 10777 | return uninterpreted_option_.Add(); |
| 10778 | } |
| 10779 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >& |
| 10780 | MethodOptions::uninterpreted_option() const { |
| 10781 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
| 10782 | return uninterpreted_option_; |
| 10783 | } |
| 10784 | |
| 10785 | // ------------------------------------------------------------------- |
| 10786 | |
| 10787 | // UninterpretedOption_NamePart |
| 10788 | |
| 10789 | // required string name_part = 1; |
| 10790 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
| 10791 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10792 | } |
| 10793 | inline void UninterpretedOption_NamePart::set_has_name_part() { |
| 10794 | _has_bits_[0] |= 0x00000001u; |
| 10795 | } |
| 10796 | inline void UninterpretedOption_NamePart::clear_has_name_part() { |
| 10797 | _has_bits_[0] &= ~0x00000001u; |
| 10798 | } |
| 10799 | inline void UninterpretedOption_NamePart::clear_name_part() { |
| 10800 | name_part_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10801 | clear_has_name_part(); |
| 10802 | } |
| 10803 | inline const ::std::string& UninterpretedOption_NamePart::name_part() const { |
| 10804 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10805 | return name_part_.Get(); |
| 10806 | } |
| 10807 | inline void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) { |
| 10808 | set_has_name_part(); |
| 10809 | name_part_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 10810 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10811 | } |
| 10812 | #if LANG_CXX11 |
| 10813 | inline void UninterpretedOption_NamePart::set_name_part(::std::string&& value) { |
| 10814 | set_has_name_part(); |
| 10815 | name_part_.Set( |
| 10816 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 10817 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10818 | } |
| 10819 | #endif |
| 10820 | inline void UninterpretedOption_NamePart::set_name_part(const char* value) { |
| 10821 | GOOGLE_DCHECK(value != NULL); |
| 10822 | set_has_name_part(); |
| 10823 | name_part_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 10824 | GetArenaNoVirtual()); |
| 10825 | // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10826 | } |
| 10827 | inline void UninterpretedOption_NamePart::set_name_part(const char* value, |
| 10828 | size_t size) { |
| 10829 | set_has_name_part(); |
| 10830 | name_part_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 10831 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 10832 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10833 | } |
| 10834 | inline ::std::string* UninterpretedOption_NamePart::mutable_name_part() { |
| 10835 | set_has_name_part(); |
| 10836 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10837 | return name_part_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10838 | } |
| 10839 | inline ::std::string* UninterpretedOption_NamePart::release_name_part() { |
| 10840 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10841 | if (!has_name_part()) { |
| 10842 | return NULL; |
| 10843 | } |
| 10844 | clear_has_name_part(); |
| 10845 | return name_part_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10846 | } |
| 10847 | inline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) { |
| 10848 | if (name_part != NULL) { |
| 10849 | set_has_name_part(); |
| 10850 | } else { |
| 10851 | clear_has_name_part(); |
| 10852 | } |
| 10853 | name_part_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name_part, |
| 10854 | GetArenaNoVirtual()); |
| 10855 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10856 | } |
| 10857 | inline ::std::string* UninterpretedOption_NamePart::unsafe_arena_release_name_part() { |
| 10858 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10859 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10860 | clear_has_name_part(); |
| 10861 | return name_part_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10862 | GetArenaNoVirtual()); |
| 10863 | } |
| 10864 | inline void UninterpretedOption_NamePart::unsafe_arena_set_allocated_name_part( |
| 10865 | ::std::string* name_part) { |
| 10866 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 10867 | if (name_part != NULL) { |
| 10868 | set_has_name_part(); |
| 10869 | } else { |
| 10870 | clear_has_name_part(); |
| 10871 | } |
| 10872 | name_part_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 10873 | name_part, GetArenaNoVirtual()); |
| 10874 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 10875 | } |
| 10876 | |
| 10877 | // required bool is_extension = 2; |
| 10878 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
| 10879 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 10880 | } |
| 10881 | inline void UninterpretedOption_NamePart::set_has_is_extension() { |
| 10882 | _has_bits_[0] |= 0x00000002u; |
| 10883 | } |
| 10884 | inline void UninterpretedOption_NamePart::clear_has_is_extension() { |
| 10885 | _has_bits_[0] &= ~0x00000002u; |
| 10886 | } |
| 10887 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
| 10888 | is_extension_ = false; |
| 10889 | clear_has_is_extension(); |
| 10890 | } |
| 10891 | inline bool UninterpretedOption_NamePart::is_extension() const { |
| 10892 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
| 10893 | return is_extension_; |
| 10894 | } |
| 10895 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
| 10896 | set_has_is_extension(); |
| 10897 | is_extension_ = value; |
| 10898 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
| 10899 | } |
| 10900 | |
| 10901 | // ------------------------------------------------------------------- |
| 10902 | |
| 10903 | // UninterpretedOption |
| 10904 | |
| 10905 | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| 10906 | inline int UninterpretedOption::name_size() const { |
| 10907 | return name_.size(); |
| 10908 | } |
| 10909 | inline void UninterpretedOption::clear_name() { |
| 10910 | name_.Clear(); |
| 10911 | } |
| 10912 | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) { |
| 10913 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
| 10914 | return name_.Mutable(index); |
| 10915 | } |
| 10916 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >* |
| 10917 | UninterpretedOption::mutable_name() { |
| 10918 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
| 10919 | return &name_; |
| 10920 | } |
| 10921 | inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const { |
| 10922 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
| 10923 | return name_.Get(index); |
| 10924 | } |
| 10925 | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() { |
| 10926 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
| 10927 | return name_.Add(); |
| 10928 | } |
| 10929 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >& |
| 10930 | UninterpretedOption::name() const { |
| 10931 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
| 10932 | return name_; |
| 10933 | } |
| 10934 | |
| 10935 | // optional string identifier_value = 3; |
| 10936 | inline bool UninterpretedOption::has_identifier_value() const { |
| 10937 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 10938 | } |
| 10939 | inline void UninterpretedOption::set_has_identifier_value() { |
| 10940 | _has_bits_[0] |= 0x00000001u; |
| 10941 | } |
| 10942 | inline void UninterpretedOption::clear_has_identifier_value() { |
| 10943 | _has_bits_[0] &= ~0x00000001u; |
| 10944 | } |
| 10945 | inline void UninterpretedOption::clear_identifier_value() { |
| 10946 | identifier_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10947 | clear_has_identifier_value(); |
| 10948 | } |
| 10949 | inline const ::std::string& UninterpretedOption::identifier_value() const { |
| 10950 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
| 10951 | return identifier_value_.Get(); |
| 10952 | } |
| 10953 | inline void UninterpretedOption::set_identifier_value(const ::std::string& value) { |
| 10954 | set_has_identifier_value(); |
| 10955 | identifier_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 10956 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
| 10957 | } |
| 10958 | #if LANG_CXX11 |
| 10959 | inline void UninterpretedOption::set_identifier_value(::std::string&& value) { |
| 10960 | set_has_identifier_value(); |
| 10961 | identifier_value_.Set( |
| 10962 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 10963 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.identifier_value) |
| 10964 | } |
| 10965 | #endif |
| 10966 | inline void UninterpretedOption::set_identifier_value(const char* value) { |
| 10967 | GOOGLE_DCHECK(value != NULL); |
| 10968 | set_has_identifier_value(); |
| 10969 | identifier_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 10970 | GetArenaNoVirtual()); |
| 10971 | // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value) |
| 10972 | } |
| 10973 | inline void UninterpretedOption::set_identifier_value(const char* value, |
| 10974 | size_t size) { |
| 10975 | set_has_identifier_value(); |
| 10976 | identifier_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 10977 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 10978 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value) |
| 10979 | } |
| 10980 | inline ::std::string* UninterpretedOption::mutable_identifier_value() { |
| 10981 | set_has_identifier_value(); |
| 10982 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
| 10983 | return identifier_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10984 | } |
| 10985 | inline ::std::string* UninterpretedOption::release_identifier_value() { |
| 10986 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
| 10987 | if (!has_identifier_value()) { |
| 10988 | return NULL; |
| 10989 | } |
| 10990 | clear_has_identifier_value(); |
| 10991 | return identifier_value_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 10992 | } |
| 10993 | inline void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) { |
| 10994 | if (identifier_value != NULL) { |
| 10995 | set_has_identifier_value(); |
| 10996 | } else { |
| 10997 | clear_has_identifier_value(); |
| 10998 | } |
| 10999 | identifier_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), identifier_value, |
| 11000 | GetArenaNoVirtual()); |
| 11001 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
| 11002 | } |
| 11003 | inline ::std::string* UninterpretedOption::unsafe_arena_release_identifier_value() { |
| 11004 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.UninterpretedOption.identifier_value) |
| 11005 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11006 | clear_has_identifier_value(); |
| 11007 | return identifier_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11008 | GetArenaNoVirtual()); |
| 11009 | } |
| 11010 | inline void UninterpretedOption::unsafe_arena_set_allocated_identifier_value( |
| 11011 | ::std::string* identifier_value) { |
| 11012 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11013 | if (identifier_value != NULL) { |
| 11014 | set_has_identifier_value(); |
| 11015 | } else { |
| 11016 | clear_has_identifier_value(); |
| 11017 | } |
| 11018 | identifier_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11019 | identifier_value, GetArenaNoVirtual()); |
| 11020 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
| 11021 | } |
| 11022 | |
| 11023 | // optional uint64 positive_int_value = 4; |
| 11024 | inline bool UninterpretedOption::has_positive_int_value() const { |
| 11025 | return (_has_bits_[0] & 0x00000008u) != 0; |
| 11026 | } |
| 11027 | inline void UninterpretedOption::set_has_positive_int_value() { |
| 11028 | _has_bits_[0] |= 0x00000008u; |
| 11029 | } |
| 11030 | inline void UninterpretedOption::clear_has_positive_int_value() { |
| 11031 | _has_bits_[0] &= ~0x00000008u; |
| 11032 | } |
| 11033 | inline void UninterpretedOption::clear_positive_int_value() { |
| 11034 | positive_int_value_ = GOOGLE_ULONGLONG(0); |
| 11035 | clear_has_positive_int_value(); |
| 11036 | } |
| 11037 | inline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const { |
| 11038 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
| 11039 | return positive_int_value_; |
| 11040 | } |
| 11041 | inline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) { |
| 11042 | set_has_positive_int_value(); |
| 11043 | positive_int_value_ = value; |
| 11044 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
| 11045 | } |
| 11046 | |
| 11047 | // optional int64 negative_int_value = 5; |
| 11048 | inline bool UninterpretedOption::has_negative_int_value() const { |
| 11049 | return (_has_bits_[0] & 0x00000010u) != 0; |
| 11050 | } |
| 11051 | inline void UninterpretedOption::set_has_negative_int_value() { |
| 11052 | _has_bits_[0] |= 0x00000010u; |
| 11053 | } |
| 11054 | inline void UninterpretedOption::clear_has_negative_int_value() { |
| 11055 | _has_bits_[0] &= ~0x00000010u; |
| 11056 | } |
| 11057 | inline void UninterpretedOption::clear_negative_int_value() { |
| 11058 | negative_int_value_ = GOOGLE_LONGLONG(0); |
| 11059 | clear_has_negative_int_value(); |
| 11060 | } |
| 11061 | inline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const { |
| 11062 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
| 11063 | return negative_int_value_; |
| 11064 | } |
| 11065 | inline void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) { |
| 11066 | set_has_negative_int_value(); |
| 11067 | negative_int_value_ = value; |
| 11068 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
| 11069 | } |
| 11070 | |
| 11071 | // optional double double_value = 6; |
| 11072 | inline bool UninterpretedOption::has_double_value() const { |
| 11073 | return (_has_bits_[0] & 0x00000020u) != 0; |
| 11074 | } |
| 11075 | inline void UninterpretedOption::set_has_double_value() { |
| 11076 | _has_bits_[0] |= 0x00000020u; |
| 11077 | } |
| 11078 | inline void UninterpretedOption::clear_has_double_value() { |
| 11079 | _has_bits_[0] &= ~0x00000020u; |
| 11080 | } |
| 11081 | inline void UninterpretedOption::clear_double_value() { |
| 11082 | double_value_ = 0; |
| 11083 | clear_has_double_value(); |
| 11084 | } |
| 11085 | inline double UninterpretedOption::double_value() const { |
| 11086 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
| 11087 | return double_value_; |
| 11088 | } |
| 11089 | inline void UninterpretedOption::set_double_value(double value) { |
| 11090 | set_has_double_value(); |
| 11091 | double_value_ = value; |
| 11092 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
| 11093 | } |
| 11094 | |
| 11095 | // optional bytes string_value = 7; |
| 11096 | inline bool UninterpretedOption::has_string_value() const { |
| 11097 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 11098 | } |
| 11099 | inline void UninterpretedOption::set_has_string_value() { |
| 11100 | _has_bits_[0] |= 0x00000002u; |
| 11101 | } |
| 11102 | inline void UninterpretedOption::clear_has_string_value() { |
| 11103 | _has_bits_[0] &= ~0x00000002u; |
| 11104 | } |
| 11105 | inline void UninterpretedOption::clear_string_value() { |
| 11106 | string_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11107 | clear_has_string_value(); |
| 11108 | } |
| 11109 | inline const ::std::string& UninterpretedOption::string_value() const { |
| 11110 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
| 11111 | return string_value_.Get(); |
| 11112 | } |
| 11113 | inline void UninterpretedOption::set_string_value(const ::std::string& value) { |
| 11114 | set_has_string_value(); |
| 11115 | string_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 11116 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
| 11117 | } |
| 11118 | #if LANG_CXX11 |
| 11119 | inline void UninterpretedOption::set_string_value(::std::string&& value) { |
| 11120 | set_has_string_value(); |
| 11121 | string_value_.Set( |
| 11122 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 11123 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.string_value) |
| 11124 | } |
| 11125 | #endif |
| 11126 | inline void UninterpretedOption::set_string_value(const char* value) { |
| 11127 | GOOGLE_DCHECK(value != NULL); |
| 11128 | set_has_string_value(); |
| 11129 | string_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 11130 | GetArenaNoVirtual()); |
| 11131 | // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value) |
| 11132 | } |
| 11133 | inline void UninterpretedOption::set_string_value(const void* value, |
| 11134 | size_t size) { |
| 11135 | set_has_string_value(); |
| 11136 | string_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 11137 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 11138 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value) |
| 11139 | } |
| 11140 | inline ::std::string* UninterpretedOption::mutable_string_value() { |
| 11141 | set_has_string_value(); |
| 11142 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
| 11143 | return string_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11144 | } |
| 11145 | inline ::std::string* UninterpretedOption::release_string_value() { |
| 11146 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
| 11147 | if (!has_string_value()) { |
| 11148 | return NULL; |
| 11149 | } |
| 11150 | clear_has_string_value(); |
| 11151 | return string_value_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11152 | } |
| 11153 | inline void UninterpretedOption::set_allocated_string_value(::std::string* string_value) { |
| 11154 | if (string_value != NULL) { |
| 11155 | set_has_string_value(); |
| 11156 | } else { |
| 11157 | clear_has_string_value(); |
| 11158 | } |
| 11159 | string_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), string_value, |
| 11160 | GetArenaNoVirtual()); |
| 11161 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
| 11162 | } |
| 11163 | inline ::std::string* UninterpretedOption::unsafe_arena_release_string_value() { |
| 11164 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.UninterpretedOption.string_value) |
| 11165 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11166 | clear_has_string_value(); |
| 11167 | return string_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11168 | GetArenaNoVirtual()); |
| 11169 | } |
| 11170 | inline void UninterpretedOption::unsafe_arena_set_allocated_string_value( |
| 11171 | ::std::string* string_value) { |
| 11172 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11173 | if (string_value != NULL) { |
| 11174 | set_has_string_value(); |
| 11175 | } else { |
| 11176 | clear_has_string_value(); |
| 11177 | } |
| 11178 | string_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11179 | string_value, GetArenaNoVirtual()); |
| 11180 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.UninterpretedOption.string_value) |
| 11181 | } |
| 11182 | |
| 11183 | // optional string aggregate_value = 8; |
| 11184 | inline bool UninterpretedOption::has_aggregate_value() const { |
| 11185 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 11186 | } |
| 11187 | inline void UninterpretedOption::set_has_aggregate_value() { |
| 11188 | _has_bits_[0] |= 0x00000004u; |
| 11189 | } |
| 11190 | inline void UninterpretedOption::clear_has_aggregate_value() { |
| 11191 | _has_bits_[0] &= ~0x00000004u; |
| 11192 | } |
| 11193 | inline void UninterpretedOption::clear_aggregate_value() { |
| 11194 | aggregate_value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11195 | clear_has_aggregate_value(); |
| 11196 | } |
| 11197 | inline const ::std::string& UninterpretedOption::aggregate_value() const { |
| 11198 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
| 11199 | return aggregate_value_.Get(); |
| 11200 | } |
| 11201 | inline void UninterpretedOption::set_aggregate_value(const ::std::string& value) { |
| 11202 | set_has_aggregate_value(); |
| 11203 | aggregate_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 11204 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
| 11205 | } |
| 11206 | #if LANG_CXX11 |
| 11207 | inline void UninterpretedOption::set_aggregate_value(::std::string&& value) { |
| 11208 | set_has_aggregate_value(); |
| 11209 | aggregate_value_.Set( |
| 11210 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 11211 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.UninterpretedOption.aggregate_value) |
| 11212 | } |
| 11213 | #endif |
| 11214 | inline void UninterpretedOption::set_aggregate_value(const char* value) { |
| 11215 | GOOGLE_DCHECK(value != NULL); |
| 11216 | set_has_aggregate_value(); |
| 11217 | aggregate_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 11218 | GetArenaNoVirtual()); |
| 11219 | // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value) |
| 11220 | } |
| 11221 | inline void UninterpretedOption::set_aggregate_value(const char* value, |
| 11222 | size_t size) { |
| 11223 | set_has_aggregate_value(); |
| 11224 | aggregate_value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 11225 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 11226 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value) |
| 11227 | } |
| 11228 | inline ::std::string* UninterpretedOption::mutable_aggregate_value() { |
| 11229 | set_has_aggregate_value(); |
| 11230 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
| 11231 | return aggregate_value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11232 | } |
| 11233 | inline ::std::string* UninterpretedOption::release_aggregate_value() { |
| 11234 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
| 11235 | if (!has_aggregate_value()) { |
| 11236 | return NULL; |
| 11237 | } |
| 11238 | clear_has_aggregate_value(); |
| 11239 | return aggregate_value_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11240 | } |
| 11241 | inline void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) { |
| 11242 | if (aggregate_value != NULL) { |
| 11243 | set_has_aggregate_value(); |
| 11244 | } else { |
| 11245 | clear_has_aggregate_value(); |
| 11246 | } |
| 11247 | aggregate_value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aggregate_value, |
| 11248 | GetArenaNoVirtual()); |
| 11249 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
| 11250 | } |
| 11251 | inline ::std::string* UninterpretedOption::unsafe_arena_release_aggregate_value() { |
| 11252 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.UninterpretedOption.aggregate_value) |
| 11253 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11254 | clear_has_aggregate_value(); |
| 11255 | return aggregate_value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11256 | GetArenaNoVirtual()); |
| 11257 | } |
| 11258 | inline void UninterpretedOption::unsafe_arena_set_allocated_aggregate_value( |
| 11259 | ::std::string* aggregate_value) { |
| 11260 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11261 | if (aggregate_value != NULL) { |
| 11262 | set_has_aggregate_value(); |
| 11263 | } else { |
| 11264 | clear_has_aggregate_value(); |
| 11265 | } |
| 11266 | aggregate_value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11267 | aggregate_value, GetArenaNoVirtual()); |
| 11268 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
| 11269 | } |
| 11270 | |
| 11271 | // ------------------------------------------------------------------- |
| 11272 | |
| 11273 | // SourceCodeInfo_Location |
| 11274 | |
| 11275 | // repeated int32 path = 1 [packed = true]; |
| 11276 | inline int SourceCodeInfo_Location::path_size() const { |
| 11277 | return path_.size(); |
| 11278 | } |
| 11279 | inline void SourceCodeInfo_Location::clear_path() { |
| 11280 | path_.Clear(); |
| 11281 | } |
| 11282 | inline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const { |
| 11283 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
| 11284 | return path_.Get(index); |
| 11285 | } |
| 11286 | inline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int32 value) { |
| 11287 | path_.Set(index, value); |
| 11288 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
| 11289 | } |
| 11290 | inline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) { |
| 11291 | path_.Add(value); |
| 11292 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
| 11293 | } |
| 11294 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 11295 | SourceCodeInfo_Location::path() const { |
| 11296 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
| 11297 | return path_; |
| 11298 | } |
| 11299 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 11300 | SourceCodeInfo_Location::mutable_path() { |
| 11301 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
| 11302 | return &path_; |
| 11303 | } |
| 11304 | |
| 11305 | // repeated int32 span = 2 [packed = true]; |
| 11306 | inline int SourceCodeInfo_Location::span_size() const { |
| 11307 | return span_.size(); |
| 11308 | } |
| 11309 | inline void SourceCodeInfo_Location::clear_span() { |
| 11310 | span_.Clear(); |
| 11311 | } |
| 11312 | inline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const { |
| 11313 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
| 11314 | return span_.Get(index); |
| 11315 | } |
| 11316 | inline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int32 value) { |
| 11317 | span_.Set(index, value); |
| 11318 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
| 11319 | } |
| 11320 | inline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) { |
| 11321 | span_.Add(value); |
| 11322 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
| 11323 | } |
| 11324 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 11325 | SourceCodeInfo_Location::span() const { |
| 11326 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
| 11327 | return span_; |
| 11328 | } |
| 11329 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 11330 | SourceCodeInfo_Location::mutable_span() { |
| 11331 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
| 11332 | return &span_; |
| 11333 | } |
| 11334 | |
| 11335 | // optional string leading_comments = 3; |
| 11336 | inline bool SourceCodeInfo_Location::() const { |
| 11337 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 11338 | } |
| 11339 | inline void SourceCodeInfo_Location::() { |
| 11340 | _has_bits_[0] |= 0x00000001u; |
| 11341 | } |
| 11342 | inline void SourceCodeInfo_Location::() { |
| 11343 | _has_bits_[0] &= ~0x00000001u; |
| 11344 | } |
| 11345 | inline void SourceCodeInfo_Location::() { |
| 11346 | leading_comments_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11347 | clear_has_leading_comments(); |
| 11348 | } |
| 11349 | inline const ::std::string& SourceCodeInfo_Location::() const { |
| 11350 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11351 | return leading_comments_.Get(); |
| 11352 | } |
| 11353 | inline void SourceCodeInfo_Location::(const ::std::string& value) { |
| 11354 | set_has_leading_comments(); |
| 11355 | leading_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 11356 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11357 | } |
| 11358 | #if LANG_CXX11 |
| 11359 | inline void SourceCodeInfo_Location::(::std::string&& value) { |
| 11360 | set_has_leading_comments(); |
| 11361 | leading_comments_.Set( |
| 11362 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 11363 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11364 | } |
| 11365 | #endif |
| 11366 | inline void SourceCodeInfo_Location::(const char* value) { |
| 11367 | GOOGLE_DCHECK(value != NULL); |
| 11368 | set_has_leading_comments(); |
| 11369 | leading_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 11370 | GetArenaNoVirtual()); |
| 11371 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11372 | } |
| 11373 | inline void SourceCodeInfo_Location::(const char* value, |
| 11374 | size_t size) { |
| 11375 | set_has_leading_comments(); |
| 11376 | leading_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 11377 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 11378 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11379 | } |
| 11380 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11381 | set_has_leading_comments(); |
| 11382 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11383 | return leading_comments_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11384 | } |
| 11385 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11386 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11387 | if (!has_leading_comments()) { |
| 11388 | return NULL; |
| 11389 | } |
| 11390 | clear_has_leading_comments(); |
| 11391 | return leading_comments_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11392 | } |
| 11393 | inline void SourceCodeInfo_Location::(::std::string* ) { |
| 11394 | if (leading_comments != NULL) { |
| 11395 | set_has_leading_comments(); |
| 11396 | } else { |
| 11397 | clear_has_leading_comments(); |
| 11398 | } |
| 11399 | leading_comments_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments, |
| 11400 | GetArenaNoVirtual()); |
| 11401 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11402 | } |
| 11403 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11404 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11405 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11406 | clear_has_leading_comments(); |
| 11407 | return leading_comments_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11408 | GetArenaNoVirtual()); |
| 11409 | } |
| 11410 | inline void SourceCodeInfo_Location::( |
| 11411 | ::std::string* ) { |
| 11412 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11413 | if (leading_comments != NULL) { |
| 11414 | set_has_leading_comments(); |
| 11415 | } else { |
| 11416 | clear_has_leading_comments(); |
| 11417 | } |
| 11418 | leading_comments_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11419 | leading_comments, GetArenaNoVirtual()); |
| 11420 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 11421 | } |
| 11422 | |
| 11423 | // optional string trailing_comments = 4; |
| 11424 | inline bool SourceCodeInfo_Location::() const { |
| 11425 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 11426 | } |
| 11427 | inline void SourceCodeInfo_Location::() { |
| 11428 | _has_bits_[0] |= 0x00000002u; |
| 11429 | } |
| 11430 | inline void SourceCodeInfo_Location::() { |
| 11431 | _has_bits_[0] &= ~0x00000002u; |
| 11432 | } |
| 11433 | inline void SourceCodeInfo_Location::() { |
| 11434 | trailing_comments_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11435 | clear_has_trailing_comments(); |
| 11436 | } |
| 11437 | inline const ::std::string& SourceCodeInfo_Location::() const { |
| 11438 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11439 | return trailing_comments_.Get(); |
| 11440 | } |
| 11441 | inline void SourceCodeInfo_Location::(const ::std::string& value) { |
| 11442 | set_has_trailing_comments(); |
| 11443 | trailing_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 11444 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11445 | } |
| 11446 | #if LANG_CXX11 |
| 11447 | inline void SourceCodeInfo_Location::(::std::string&& value) { |
| 11448 | set_has_trailing_comments(); |
| 11449 | trailing_comments_.Set( |
| 11450 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 11451 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11452 | } |
| 11453 | #endif |
| 11454 | inline void SourceCodeInfo_Location::(const char* value) { |
| 11455 | GOOGLE_DCHECK(value != NULL); |
| 11456 | set_has_trailing_comments(); |
| 11457 | trailing_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 11458 | GetArenaNoVirtual()); |
| 11459 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11460 | } |
| 11461 | inline void SourceCodeInfo_Location::(const char* value, |
| 11462 | size_t size) { |
| 11463 | set_has_trailing_comments(); |
| 11464 | trailing_comments_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 11465 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 11466 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11467 | } |
| 11468 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11469 | set_has_trailing_comments(); |
| 11470 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11471 | return trailing_comments_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11472 | } |
| 11473 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11474 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11475 | if (!has_trailing_comments()) { |
| 11476 | return NULL; |
| 11477 | } |
| 11478 | clear_has_trailing_comments(); |
| 11479 | return trailing_comments_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11480 | } |
| 11481 | inline void SourceCodeInfo_Location::(::std::string* ) { |
| 11482 | if (trailing_comments != NULL) { |
| 11483 | set_has_trailing_comments(); |
| 11484 | } else { |
| 11485 | clear_has_trailing_comments(); |
| 11486 | } |
| 11487 | trailing_comments_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trailing_comments, |
| 11488 | GetArenaNoVirtual()); |
| 11489 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11490 | } |
| 11491 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11492 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11493 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11494 | clear_has_trailing_comments(); |
| 11495 | return trailing_comments_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11496 | GetArenaNoVirtual()); |
| 11497 | } |
| 11498 | inline void SourceCodeInfo_Location::( |
| 11499 | ::std::string* ) { |
| 11500 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11501 | if (trailing_comments != NULL) { |
| 11502 | set_has_trailing_comments(); |
| 11503 | } else { |
| 11504 | clear_has_trailing_comments(); |
| 11505 | } |
| 11506 | trailing_comments_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11507 | trailing_comments, GetArenaNoVirtual()); |
| 11508 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 11509 | } |
| 11510 | |
| 11511 | // repeated string leading_detached_comments = 6; |
| 11512 | inline int SourceCodeInfo_Location::() const { |
| 11513 | return leading_detached_comments_.size(); |
| 11514 | } |
| 11515 | inline void SourceCodeInfo_Location::() { |
| 11516 | leading_detached_comments_.Clear(); |
| 11517 | } |
| 11518 | inline const ::std::string& SourceCodeInfo_Location::(int index) const { |
| 11519 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11520 | return leading_detached_comments_.Get(index); |
| 11521 | } |
| 11522 | inline ::std::string* SourceCodeInfo_Location::(int index) { |
| 11523 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11524 | return leading_detached_comments_.Mutable(index); |
| 11525 | } |
| 11526 | inline void SourceCodeInfo_Location::(int index, const ::std::string& value) { |
| 11527 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11528 | leading_detached_comments_.Mutable(index)->assign(value); |
| 11529 | } |
| 11530 | #if LANG_CXX11 |
| 11531 | inline void SourceCodeInfo_Location::(int index, ::std::string&& value) { |
| 11532 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11533 | leading_detached_comments_.Mutable(index)->assign(std::move(value)); |
| 11534 | } |
| 11535 | #endif |
| 11536 | inline void SourceCodeInfo_Location::(int index, const char* value) { |
| 11537 | GOOGLE_DCHECK(value != NULL); |
| 11538 | leading_detached_comments_.Mutable(index)->assign(value); |
| 11539 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11540 | } |
| 11541 | inline void SourceCodeInfo_Location::(int index, const char* value, size_t size) { |
| 11542 | leading_detached_comments_.Mutable(index)->assign( |
| 11543 | reinterpret_cast<const char*>(value), size); |
| 11544 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11545 | } |
| 11546 | inline ::std::string* SourceCodeInfo_Location::() { |
| 11547 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11548 | return leading_detached_comments_.Add(); |
| 11549 | } |
| 11550 | inline void SourceCodeInfo_Location::(const ::std::string& value) { |
| 11551 | leading_detached_comments_.Add()->assign(value); |
| 11552 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11553 | } |
| 11554 | #if LANG_CXX11 |
| 11555 | inline void SourceCodeInfo_Location::(::std::string&& value) { |
| 11556 | leading_detached_comments_.Add(std::move(value)); |
| 11557 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11558 | } |
| 11559 | #endif |
| 11560 | inline void SourceCodeInfo_Location::(const char* value) { |
| 11561 | GOOGLE_DCHECK(value != NULL); |
| 11562 | leading_detached_comments_.Add()->assign(value); |
| 11563 | // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11564 | } |
| 11565 | inline void SourceCodeInfo_Location::(const char* value, size_t size) { |
| 11566 | leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 11567 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11568 | } |
| 11569 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 11570 | SourceCodeInfo_Location::() const { |
| 11571 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11572 | return leading_detached_comments_; |
| 11573 | } |
| 11574 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 11575 | SourceCodeInfo_Location::() { |
| 11576 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 11577 | return &leading_detached_comments_; |
| 11578 | } |
| 11579 | |
| 11580 | // ------------------------------------------------------------------- |
| 11581 | |
| 11582 | // SourceCodeInfo |
| 11583 | |
| 11584 | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
| 11585 | inline int SourceCodeInfo::location_size() const { |
| 11586 | return location_.size(); |
| 11587 | } |
| 11588 | inline void SourceCodeInfo::clear_location() { |
| 11589 | location_.Clear(); |
| 11590 | } |
| 11591 | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) { |
| 11592 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
| 11593 | return location_.Mutable(index); |
| 11594 | } |
| 11595 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >* |
| 11596 | SourceCodeInfo::mutable_location() { |
| 11597 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
| 11598 | return &location_; |
| 11599 | } |
| 11600 | inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const { |
| 11601 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
| 11602 | return location_.Get(index); |
| 11603 | } |
| 11604 | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() { |
| 11605 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
| 11606 | return location_.Add(); |
| 11607 | } |
| 11608 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >& |
| 11609 | SourceCodeInfo::location() const { |
| 11610 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
| 11611 | return location_; |
| 11612 | } |
| 11613 | |
| 11614 | // ------------------------------------------------------------------- |
| 11615 | |
| 11616 | // GeneratedCodeInfo_Annotation |
| 11617 | |
| 11618 | // repeated int32 path = 1 [packed = true]; |
| 11619 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
| 11620 | return path_.size(); |
| 11621 | } |
| 11622 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
| 11623 | path_.Clear(); |
| 11624 | } |
| 11625 | inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::path(int index) const { |
| 11626 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 11627 | return path_.Get(index); |
| 11628 | } |
| 11629 | inline void GeneratedCodeInfo_Annotation::set_path(int index, ::google::protobuf::int32 value) { |
| 11630 | path_.Set(index, value); |
| 11631 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 11632 | } |
| 11633 | inline void GeneratedCodeInfo_Annotation::add_path(::google::protobuf::int32 value) { |
| 11634 | path_.Add(value); |
| 11635 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 11636 | } |
| 11637 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 11638 | GeneratedCodeInfo_Annotation::path() const { |
| 11639 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 11640 | return path_; |
| 11641 | } |
| 11642 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 11643 | GeneratedCodeInfo_Annotation::mutable_path() { |
| 11644 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 11645 | return &path_; |
| 11646 | } |
| 11647 | |
| 11648 | // optional string source_file = 2; |
| 11649 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
| 11650 | return (_has_bits_[0] & 0x00000001u) != 0; |
| 11651 | } |
| 11652 | inline void GeneratedCodeInfo_Annotation::set_has_source_file() { |
| 11653 | _has_bits_[0] |= 0x00000001u; |
| 11654 | } |
| 11655 | inline void GeneratedCodeInfo_Annotation::clear_has_source_file() { |
| 11656 | _has_bits_[0] &= ~0x00000001u; |
| 11657 | } |
| 11658 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
| 11659 | source_file_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11660 | clear_has_source_file(); |
| 11661 | } |
| 11662 | inline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { |
| 11663 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11664 | return source_file_.Get(); |
| 11665 | } |
| 11666 | inline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& value) { |
| 11667 | set_has_source_file(); |
| 11668 | source_file_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
| 11669 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11670 | } |
| 11671 | #if LANG_CXX11 |
| 11672 | inline void GeneratedCodeInfo_Annotation::set_source_file(::std::string&& value) { |
| 11673 | set_has_source_file(); |
| 11674 | source_file_.Set( |
| 11675 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
| 11676 | // @@protoc_insertion_point(field_set_rvalue:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11677 | } |
| 11678 | #endif |
| 11679 | inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { |
| 11680 | GOOGLE_DCHECK(value != NULL); |
| 11681 | set_has_source_file(); |
| 11682 | source_file_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| 11683 | GetArenaNoVirtual()); |
| 11684 | // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11685 | } |
| 11686 | inline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, |
| 11687 | size_t size) { |
| 11688 | set_has_source_file(); |
| 11689 | source_file_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| 11690 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
| 11691 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11692 | } |
| 11693 | inline ::std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { |
| 11694 | set_has_source_file(); |
| 11695 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11696 | return source_file_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11697 | } |
| 11698 | inline ::std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
| 11699 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11700 | if (!has_source_file()) { |
| 11701 | return NULL; |
| 11702 | } |
| 11703 | clear_has_source_file(); |
| 11704 | return source_file_.ReleaseNonDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
| 11705 | } |
| 11706 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(::std::string* source_file) { |
| 11707 | if (source_file != NULL) { |
| 11708 | set_has_source_file(); |
| 11709 | } else { |
| 11710 | clear_has_source_file(); |
| 11711 | } |
| 11712 | source_file_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_file, |
| 11713 | GetArenaNoVirtual()); |
| 11714 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11715 | } |
| 11716 | inline ::std::string* GeneratedCodeInfo_Annotation::unsafe_arena_release_source_file() { |
| 11717 | // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11718 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11719 | clear_has_source_file(); |
| 11720 | return source_file_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11721 | GetArenaNoVirtual()); |
| 11722 | } |
| 11723 | inline void GeneratedCodeInfo_Annotation::unsafe_arena_set_allocated_source_file( |
| 11724 | ::std::string* source_file) { |
| 11725 | GOOGLE_DCHECK(GetArenaNoVirtual() != NULL); |
| 11726 | if (source_file != NULL) { |
| 11727 | set_has_source_file(); |
| 11728 | } else { |
| 11729 | clear_has_source_file(); |
| 11730 | } |
| 11731 | source_file_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
| 11732 | source_file, GetArenaNoVirtual()); |
| 11733 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 11734 | } |
| 11735 | |
| 11736 | // optional int32 begin = 3; |
| 11737 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
| 11738 | return (_has_bits_[0] & 0x00000002u) != 0; |
| 11739 | } |
| 11740 | inline void GeneratedCodeInfo_Annotation::set_has_begin() { |
| 11741 | _has_bits_[0] |= 0x00000002u; |
| 11742 | } |
| 11743 | inline void GeneratedCodeInfo_Annotation::clear_has_begin() { |
| 11744 | _has_bits_[0] &= ~0x00000002u; |
| 11745 | } |
| 11746 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
| 11747 | begin_ = 0; |
| 11748 | clear_has_begin(); |
| 11749 | } |
| 11750 | inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { |
| 11751 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
| 11752 | return begin_; |
| 11753 | } |
| 11754 | inline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 value) { |
| 11755 | set_has_begin(); |
| 11756 | begin_ = value; |
| 11757 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
| 11758 | } |
| 11759 | |
| 11760 | // optional int32 end = 4; |
| 11761 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
| 11762 | return (_has_bits_[0] & 0x00000004u) != 0; |
| 11763 | } |
| 11764 | inline void GeneratedCodeInfo_Annotation::set_has_end() { |
| 11765 | _has_bits_[0] |= 0x00000004u; |
| 11766 | } |
| 11767 | inline void GeneratedCodeInfo_Annotation::clear_has_end() { |
| 11768 | _has_bits_[0] &= ~0x00000004u; |
| 11769 | } |
| 11770 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
| 11771 | end_ = 0; |
| 11772 | clear_has_end(); |
| 11773 | } |
| 11774 | inline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { |
| 11775 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
| 11776 | return end_; |
| 11777 | } |
| 11778 | inline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 value) { |
| 11779 | set_has_end(); |
| 11780 | end_ = value; |
| 11781 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
| 11782 | } |
| 11783 | |
| 11784 | // ------------------------------------------------------------------- |
| 11785 | |
| 11786 | // GeneratedCodeInfo |
| 11787 | |
| 11788 | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
| 11789 | inline int GeneratedCodeInfo::annotation_size() const { |
| 11790 | return annotation_.size(); |
| 11791 | } |
| 11792 | inline void GeneratedCodeInfo::clear_annotation() { |
| 11793 | annotation_.Clear(); |
| 11794 | } |
| 11795 | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { |
| 11796 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
| 11797 | return annotation_.Mutable(index); |
| 11798 | } |
| 11799 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >* |
| 11800 | GeneratedCodeInfo::mutable_annotation() { |
| 11801 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
| 11802 | return &annotation_; |
| 11803 | } |
| 11804 | inline const ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { |
| 11805 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
| 11806 | return annotation_.Get(index); |
| 11807 | } |
| 11808 | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { |
| 11809 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
| 11810 | return annotation_.Add(); |
| 11811 | } |
| 11812 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >& |
| 11813 | GeneratedCodeInfo::annotation() const { |
| 11814 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
| 11815 | return annotation_; |
| 11816 | } |
| 11817 | |
| 11818 | #ifdef __GNUC__ |
| 11819 | #pragma GCC diagnostic pop |
| 11820 | #endif // __GNUC__ |
| 11821 | // ------------------------------------------------------------------- |
| 11822 | |
| 11823 | // ------------------------------------------------------------------- |
| 11824 | |
| 11825 | // ------------------------------------------------------------------- |
| 11826 | |
| 11827 | // ------------------------------------------------------------------- |
| 11828 | |
| 11829 | // ------------------------------------------------------------------- |
| 11830 | |
| 11831 | // ------------------------------------------------------------------- |
| 11832 | |
| 11833 | // ------------------------------------------------------------------- |
| 11834 | |
| 11835 | // ------------------------------------------------------------------- |
| 11836 | |
| 11837 | // ------------------------------------------------------------------- |
| 11838 | |
| 11839 | // ------------------------------------------------------------------- |
| 11840 | |
| 11841 | // ------------------------------------------------------------------- |
| 11842 | |
| 11843 | // ------------------------------------------------------------------- |
| 11844 | |
| 11845 | // ------------------------------------------------------------------- |
| 11846 | |
| 11847 | // ------------------------------------------------------------------- |
| 11848 | |
| 11849 | // ------------------------------------------------------------------- |
| 11850 | |
| 11851 | // ------------------------------------------------------------------- |
| 11852 | |
| 11853 | // ------------------------------------------------------------------- |
| 11854 | |
| 11855 | // ------------------------------------------------------------------- |
| 11856 | |
| 11857 | // ------------------------------------------------------------------- |
| 11858 | |
| 11859 | // ------------------------------------------------------------------- |
| 11860 | |
| 11861 | // ------------------------------------------------------------------- |
| 11862 | |
| 11863 | // ------------------------------------------------------------------- |
| 11864 | |
| 11865 | // ------------------------------------------------------------------- |
| 11866 | |
| 11867 | // ------------------------------------------------------------------- |
| 11868 | |
| 11869 | // ------------------------------------------------------------------- |
| 11870 | |
| 11871 | // ------------------------------------------------------------------- |
| 11872 | |
| 11873 | |
| 11874 | // @@protoc_insertion_point(namespace_scope) |
| 11875 | |
| 11876 | } // namespace protobuf |
| 11877 | } // namespace google |
| 11878 | |
| 11879 | namespace google { |
| 11880 | namespace protobuf { |
| 11881 | |
| 11882 | template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::std::true_type {}; |
| 11883 | template <> |
| 11884 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() { |
| 11885 | return ::google::protobuf::FieldDescriptorProto_Type_descriptor(); |
| 11886 | } |
| 11887 | template <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label> : ::std::true_type {}; |
| 11888 | template <> |
| 11889 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() { |
| 11890 | return ::google::protobuf::FieldDescriptorProto_Label_descriptor(); |
| 11891 | } |
| 11892 | template <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode> : ::std::true_type {}; |
| 11893 | template <> |
| 11894 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_OptimizeMode>() { |
| 11895 | return ::google::protobuf::FileOptions_OptimizeMode_descriptor(); |
| 11896 | } |
| 11897 | template <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::std::true_type {}; |
| 11898 | template <> |
| 11899 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_CType>() { |
| 11900 | return ::google::protobuf::FieldOptions_CType_descriptor(); |
| 11901 | } |
| 11902 | template <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::std::true_type {}; |
| 11903 | template <> |
| 11904 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_JSType>() { |
| 11905 | return ::google::protobuf::FieldOptions_JSType_descriptor(); |
| 11906 | } |
| 11907 | template <> struct is_proto_enum< ::google::protobuf::MethodOptions_IdempotencyLevel> : ::std::true_type {}; |
| 11908 | template <> |
| 11909 | inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::MethodOptions_IdempotencyLevel>() { |
| 11910 | return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor(); |
| 11911 | } |
| 11912 | |
| 11913 | } // namespace protobuf |
| 11914 | } // namespace google |
| 11915 | |
| 11916 | // @@protoc_insertion_point(global_scope) |
| 11917 | |
| 11918 | #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 11919 | |